From 7104a25fa975b8b70fcab6e499efe91bc1a9313c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Mar 2017 20:25:27 +0300 Subject: CCtrlButton: bool IsPushed() returns a status for a PUSHBUTTON; void Push(bool) sets a new pushed status --- include/m_gui.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 OnClick; + + bool IsPushed() const; + void Push(bool bPushed); }; ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3