X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..79f9018c70d2fc72b120f467c51686c49a2ff9b6:/include/wx/univ/button.h diff --git a/include/wx/univ/button.h b/include/wx/univ/button.h index 7f271da14c..44fe29ddbf 100644 --- a/include/wx/univ/button.h +++ b/include/wx/univ/button.h @@ -95,22 +95,23 @@ public: virtual bool IsDefault() const { return m_isDefault; } // wxButton actions - void Toggle(); + virtual void Toggle(); virtual void Press(); virtual void Release(); virtual void Click(); -protected: virtual bool PerformAction(const wxControlAction& action, long numArg = -1, const wxString& strArg = wxEmptyString); + + virtual bool CanBeHighlighted() const { return true; } + +protected: virtual wxSize DoGetBestClientSize() const; virtual bool DoDrawBackground(wxDC& dc); virtual void DoDraw(wxControlRenderer *renderer); - virtual bool CanBeHighlighted() const { return true; } - // common part of all ctors void Init();