X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43a18898651f71010606d8682fdf88cfc1c02193..e3e717ecc5add075cd53a04cf24fe27e24170944:/include/wx/gtk/bmpbuttn.h diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 827f5f4d32..7806bc1471 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/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 @@ -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__