X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..bcb7cc7693846151a179c6f199105c19df2c77a2:/include/wx/mac/button.h diff --git a/include/wx/mac/button.h b/include/wx/mac/button.h index 3f4d688452..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: @@ -43,8 +43,12 @@ class WXDLLEXPORT wxButton: public wxControl const wxString& name = wxButtonNameStr); virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ; + static wxSize GetDefaultSize(); + virtual void SetDefault(); virtual void Command(wxCommandEvent& event); +protected: + virtual wxSize DoGetBestSize() const ; }; #endif