summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
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; }