X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42b4e99e9a72c259e6a4d24b7e9cd5a3129a990f..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/gtk/button.h diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index af4fdac9ee..c239f5b7a1 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -7,7 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ @@ -38,10 +37,7 @@ extern const wxChar *wxButtonNameStr; class wxButton: public wxControl { - DECLARE_DYNAMIC_CLASS(wxButton) - - public: - +public: wxButton(); inline wxButton(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, @@ -63,9 +59,16 @@ class wxButton: public wxControl static wxSize GetDefaultSize(); - // implementation + // implementation + // -------------- void ApplyWidgetStyle(); + +protected: + virtual wxSize DoGetBestSize() const; + +private: + DECLARE_DYNAMIC_CLASS(wxButton) }; #endif // __GTKBUTTONH__