summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-24 11:56:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-24 11:56:40 +0300
commitfc86783e3a70b466e101c20f3d9fe6382bff6d09 (patch)
tree24234ddf6544a711afc9ccfbf0ddf62ceb7e33e6 /include/m_gui.h
parent43ba08f91ea6e7a32e4a11418c434e1ea36314c8 (diff)
CCtrlBase::GetParent - missing const qualifier added
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 270e6205bb..226260c324 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -495,7 +495,7 @@ public:
__forceinline HWND GetHwnd() const { return m_hwnd; }
__forceinline int GetCtrlId() const { return m_idCtrl; }
- __forceinline CDlgBase *GetParent() { return m_parentWnd; }
+ __forceinline CDlgBase *GetParent() const { return m_parentWnd; }
__forceinline bool IsChanged() const { return m_bChanged; }
__forceinline void SetSilent() { m_bSilent = true; }
__forceinline void UseSystemColors() { m_bUseSystemColors = true; }