mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-15 03:38:09 +00:00
Updated MT5Connector with small fixes
This commit is contained in:
@@ -11,7 +11,7 @@ public:
|
||||
MT5Handler(int handle)
|
||||
: handle_(handle)
|
||||
{
|
||||
msgId = WM_TIMER;
|
||||
msg_id_ = WM_TIMER;
|
||||
}
|
||||
|
||||
~MT5Handler() override = default;
|
||||
@@ -19,9 +19,9 @@ public:
|
||||
private:
|
||||
void SendTickToMetaTrader() override
|
||||
{
|
||||
PostMessage((HWND)handle_, msgId, 0, 0);
|
||||
PostMessage((HWND)handle_, msg_id_, 0, 0);
|
||||
}
|
||||
|
||||
int handle_;
|
||||
unsigned int msgId;
|
||||
unsigned int msg_id_;
|
||||
};
|
||||
Reference in New Issue
Block a user