summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-03-09 14:26:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-03-09 16:01:32 +0300
commitb5c43418ddb50192686929bac0a6b3190aa6b600 (patch)
treec1ae2c0401135b5b4f5ce57586caeec6001e1b4f /include/m_gui.h
parent908423bacb8bdbbae599055f02263e2b5f0c38ae (diff)
CDlgBase::GetInst() is not inlined anymore
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index ba3590b70d..b4e2c4a5d4 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -348,7 +348,8 @@ public:
void SetDraw(bool bEnable);
void NotifyChange(void); // sends a notification to a parent window
- __forceinline HINSTANCE GetInst() const { return m_pPlugin.getInst(); }
+ HINSTANCE GetInst() const;
+
__forceinline HWND GetHwnd() const { return m_hwnd; }
__forceinline void Hide() { Show(SW_HIDE); }
__forceinline bool IsInitialized() const { return m_bInitialized; }