X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e75491071dbefcada61175e3eb89ce4edf335983..c2bbeff0048b6f02bf1ef41edc6c7a3ce148f907:/include/wx/mac/button.h?ds=inline diff --git a/include/wx/mac/button.h b/include/wx/mac/button.h index d581f9a97b..12faee340c 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: @@ -42,13 +42,13 @@ class WXDLLEXPORT wxButton: public wxControl const wxValidator& validator = wxDefaultValidator, const wxString& name = wxButtonNameStr); - virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ; + virtual void MacHandleControlClick( WXWidget control , short controlpart ) ; static wxSize GetDefaultSize(); virtual void SetDefault(); virtual void Command(wxCommandEvent& event); protected: - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const ; }; #endif