X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03fc89fff2d6e823e7d4d14fbe14822ad6777b1..5ea4780630b335a1b8b2d3a94c0b82e46f4c56f6:/include/wx/gtk1/bmpbuttn.h diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 4a029af1b9..4d3a769c40 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_BMPBUTTON + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -31,7 +34,7 @@ class wxBitmapButton; // global data //----------------------------------------------------------------------------- -extern const char *wxButtonNameStr; +extern const wxChar *wxButtonNameStr; //----------------------------------------------------------------------------- // wxBitmapButton @@ -72,7 +75,7 @@ public: void SetBitmapLabel( const wxBitmap& bitmap ); void SetBitmapSelected( const wxBitmap& bitmap ); - virtual bool Enable(const bool); + virtual bool Enable(bool enable); // implementation @@ -91,4 +94,6 @@ public: wxBitmap m_selected; }; +#endif + #endif // __BMPBUTTONH__