diff options
| author | George Hazan <ghazan@miranda.im> | 2020-01-03 16:03:40 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2020-01-03 16:03:40 +0300 |
| commit | 29b99f947573882bffe0a80ae068afa4d5140fbb (patch) | |
| tree | 98c45df2a81af8b7dc803f0015ebcbe3fb548247 /include | |
| parent | 2d2166ed2a83bc8ce315f4e7f29c7ab71439a7e4 (diff) | |
thread-safe implementation of CTimer::Start/Stop
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_gui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index 817c08e8c1..3f5715746d 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -488,6 +488,7 @@ public: CTimer(CDlgBase* wnd, UINT_PTR idEvent);
__forceinline UINT_PTR GetEventId() const { return m_idEvent; }
+ __forceinline HWND GetHwnd() const { return m_wnd->GetHwnd(); }
virtual BOOL OnTimer();
|
