summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-21 20:25:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-21 20:25:27 +0300
commit7104a25fa975b8b70fcab6e499efe91bc1a9313c (patch)
tree2baf44bef58606923d73980c63d6cb63a5bfd779 /include/m_gui.h
parentbbde34e3dcea951b26cba271020aa9a8cf73e811 (diff)
CCtrlButton:
bool IsPushed() returns a status for a PUSHBUTTON; void Push(bool) sets a new pushed status
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h3
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);
};
/////////////////////////////////////////////////////////////////////////////////////////