diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-26 22:14:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-26 22:14:04 +0300 |
commit | ed6386d96cea6837d005b1881a237447043dc84e (patch) | |
tree | bdd2ba976ff698d8bfa86b86cbbcb359b3de68e6 /include/m_gui.h | |
parent | ef5d5d9a996e2392d4634f8114d096e1fa98fb43 (diff) |
long needed function CCtrlBase::Show(bool)
Diffstat (limited to 'include/m_gui.h')
-rw-r--r-- | include/m_gui.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index 226260c324..18f47b90c0 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -500,7 +500,10 @@ public: __forceinline void SetSilent() { m_bSilent = true; }
__forceinline void UseSystemColors() { m_bUseSystemColors = true; }
- void Enable(int bIsEnable = true);
+ void Show(bool bShow = true);
+ __forceinline void Hide() { Show(false); }
+
+ void Enable(bool bIsEnable = true);
__forceinline void Disable() { Enable(false); }
BOOL Enabled(void) const;
|