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, 2 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index c85d53dd29..3e3d783fb1 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -273,6 +273,8 @@ public:
__forceinline void SetParent(HWND hwnd) { m_hwndParent = hwnd; }
__forceinline void Close() { SendMessage(m_hwnd, WM_CLOSE, 0, 0); }
+ static CDlgBase* Find(HWND hwnd);
+
protected:
HWND m_hwnd; // must be the first data item
HINSTANCE m_hInst;