diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-13 11:56:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-13 11:56:12 +0000 |
commit | 351bcbec48ed77af5f8efcc4d5198707922c5d86 (patch) | |
tree | 76f33bc88995da318477d998451f70f74c3f4fed /include/m_gui.h | |
parent | e095cd0a755191d61f652ac400cf045d38f5b5d0 (diff) |
CCtrlBase::m_bSilent - a flag not to send change notifications
git-svn-id: http://svn.miranda-ng.org/main/trunk@14142 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 ffa03bbdb6..3994cb4645 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -338,6 +338,7 @@ public: __forceinline int GetCtrlId() const { return m_idCtrl; }
__forceinline CDlgBase *GetParent() { return m_parentWnd; }
__forceinline bool IsChanged() const { return m_bChanged; }
+ __forceinline void SetSilent() { m_bSilent = true; }
void Enable(int bIsEnable = true);
__forceinline void Disable() { Enable(false); }
@@ -376,7 +377,7 @@ protected: HWND m_hwnd; // must be the first data item
int m_idCtrl;
CDlgBase* m_parentWnd;
- bool m_bChanged;
+ bool m_bChanged, m_bSilent;
public:
CCallback<CCtrlBase> OnChange;
|