use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -43,18 +43,18 @@ public:
|
||||
|
||||
virtual ~wxToggleButton();
|
||||
|
||||
virtual bool IsPressed() const { return m_isPressed || m_value; }
|
||||
virtual bool IsPressed() const wxOVERRIDE { return m_isPressed || m_value; }
|
||||
|
||||
// wxToggleButton actions
|
||||
virtual void Toggle();
|
||||
virtual void Click();
|
||||
virtual void Toggle() wxOVERRIDE;
|
||||
virtual void Click() wxOVERRIDE;
|
||||
|
||||
// Get/set the value
|
||||
void SetValue(bool state);
|
||||
bool GetValue() const { return m_value; }
|
||||
|
||||
protected:
|
||||
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
virtual wxBorder GetDefaultBorder() const wxOVERRIDE { return wxBORDER_NONE; }
|
||||
|
||||
// the current value
|
||||
bool m_value;
|
||||
|
Reference in New Issue
Block a user