diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-21 20:25:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-21 20:25:27 +0300 |
commit | 7104a25fa975b8b70fcab6e499efe91bc1a9313c (patch) | |
tree | 2baf44bef58606923d73980c63d6cb63a5bfd779 /include | |
parent | bbde34e3dcea951b26cba271020aa9a8cf73e811 (diff) |
CCtrlButton:
bool IsPushed() returns a status for a PUSHBUTTON;
void Push(bool) sets a new pushed status
Diffstat (limited to 'include')
-rw-r--r-- | include/m_gui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index 31e33c0994..270e6205bb 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -565,6 +565,9 @@ public: virtual BOOL OnCommand(HWND hwndCtrl, WORD idCtrl, WORD idCode) override;
CCallback<CCtrlButton> OnClick;
+
+ bool IsPushed() const;
+ void Push(bool bPushed);
};
/////////////////////////////////////////////////////////////////////////////////////////
|