X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c693edf3bc9539378a7ac56d90d41d89c7dc7579..ddc8c2e3abd656601dfba93ea1eab42aeeaededf:/include/wx/gtk1/bmpbuttn.h diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 7806bc1471..7126dc0675 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -23,6 +23,7 @@ #include "wx/list.h" #include "wx/control.h" #include "wx/bitmap.h" +#include "wx/button.h" //----------------------------------------------------------------------------- // classes @@ -34,13 +35,13 @@ class wxBitmapButton; // global data //----------------------------------------------------------------------------- -extern const char *wxButtonNameStr; +extern const wxChar *wxButtonNameStr; //----------------------------------------------------------------------------- // wxBitmapButton //----------------------------------------------------------------------------- -class wxBitmapButton: public wxControl +class wxBitmapButton: public wxButton { DECLARE_DYNAMIC_CLASS(wxBitmapButton) @@ -59,7 +60,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxButtonNameStr); - void SetDefault(); + virtual void SetDefault(); void SetLabel( const wxString &label ); wxString GetLabel() const;