X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd0eed647daeb257f28699de879d2f4f5aeb7fb6..186005466d585f5553e6acc7d963cd5b62c3ea9f:/include/wx/gtk1/button.h?ds=inline diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index 2b8b262c96..af4fdac9ee 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -30,7 +30,7 @@ class wxButton; // global data //----------------------------------------------------------------------------- -extern const char *wxButtonNameStr; +extern const wxChar *wxButtonNameStr; //----------------------------------------------------------------------------- // wxButton @@ -57,9 +57,11 @@ class wxButton: public wxControl const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxButtonNameStr); - void SetDefault(); + virtual void SetDefault(); void SetLabel( const wxString &label ); - void Enable( bool enable ); + bool Enable( bool enable ); + + static wxSize GetDefaultSize(); // implementation