X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43a18898651f71010606d8682fdf88cfc1c02193..f8c4475a3e579655f6a962822824596a7a9cfb66:/include/wx/gtk1/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 827f5f4d32..4d3a769c40 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -16,9 +16,13 @@ #endif #include "wx/defs.h" + +#if wxUSE_BMPBUTTON + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" +#include "wx/bitmap.h" //----------------------------------------------------------------------------- // classes @@ -30,7 +34,7 @@ class wxBitmapButton; // global data //----------------------------------------------------------------------------- -extern const char *wxButtonNameStr; +extern const wxChar *wxButtonNameStr; //----------------------------------------------------------------------------- // wxBitmapButton @@ -71,7 +75,7 @@ public: void SetBitmapLabel( const wxBitmap& bitmap ); void SetBitmapSelected( const wxBitmap& bitmap ); - virtual void Enable(const bool); + virtual bool Enable(bool enable); // implementation @@ -90,4 +94,6 @@ public: wxBitmap m_selected; }; +#endif + #endif // __BMPBUTTONH__