diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-20 19:38:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-20 19:38:58 +0000 |
commit | bfc7f00a09d0e845f182b0b69642d63be18c7f91 (patch) | |
tree | da503a6d950ca417306547d0240faa2b6f9a7cbb /include/m_gui.h | |
parent | b34e591a4ba1785cdd658b8dd1a492a3f9569d19 (diff) |
tabbed control validator
git-svn-id: http://svn.miranda-ng.org/main/trunk@13722 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_gui.h')
-rw-r--r-- | include/m_gui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index 01d5f1808f..fe2a0e66a3 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -275,6 +275,7 @@ public: __forceinline bool IsInitialized() const { return m_initialized; }
__forceinline void SetParent(HWND hwnd) { m_hwndParent = hwnd; }
__forceinline void Close() { SendMessage(m_hwnd, WM_CLOSE, 0, 0); }
+ __forceinline void Fail() { m_lresult = false; }
static CDlgBase* Find(HWND hwnd);
@@ -308,7 +309,7 @@ protected: // main dialog procedure
virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam);
- // resister controls
+ // register controls
void AddControl(CCtrlBase *ctrl);
// win32 stuff
|