X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e75491071dbefcada61175e3eb89ce4edf335983..ef344ff86223f1f0961f025c0b249c898529c095:/include/wx/mac/button.h diff --git a/include/wx/mac/button.h b/include/wx/mac/button.h index d581f9a97b..680652b3e7 100644 --- a/include/wx/mac/button.h +++ b/include/wx/mac/button.h @@ -22,7 +22,7 @@ WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; // Pushbutton -class WXDLLEXPORT wxButton: public wxControl +class WXDLLEXPORT wxButton: public wxButtonBase { DECLARE_DYNAMIC_CLASS(wxButton) public: @@ -48,7 +48,7 @@ class WXDLLEXPORT wxButton: public wxControl virtual void SetDefault(); virtual void Command(wxCommandEvent& event); protected: - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const ; }; #endif