X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..c9c1faa490a451cdf42b35b92bfcc2c55d22bbe9:/interface/wx/control.h diff --git a/interface/wx/control.h b/interface/wx/control.h index 2a9f824059..3feb1b59b4 100644 --- a/interface/wx/control.h +++ b/interface/wx/control.h @@ -8,7 +8,6 @@ /** @class wxControl - @wxheader{control.h} This is the base class for a control or "widget". @@ -28,7 +27,7 @@ public: @see wxCommandEvent */ - void Command(wxCommandEvent& event); + virtual void Command(wxCommandEvent& event); /** Returns the control's text. @@ -41,7 +40,7 @@ public: /** Returns the control's label without mnemonics. */ - const wxString GetLabelText(); + wxString GetLabelText() const; /** Returns the given @a label string without mnemonics.