X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac57418f39e9671c18b99942180563146625d3ae..324dbfec39cc030027830a100239cb9a4e6624e8:/include/wx/gtk1/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index fd1df719c8..7806bc1471 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" @@ -72,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 @@ -91,4 +94,6 @@ public: wxBitmap m_selected; }; +#endif + #endif // __BMPBUTTONH__