]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/bmpbuttn.h
Work on streams of all sorts. More to come.
[wxWidgets.git] / include / wx / gtk1 / bmpbuttn.h
index 827f5f4d32183e80450bd621a0d686d318a9a64a..ec1325358689ed0d134546ec9c1fc786ab47c40f 100644 (file)
 #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(const bool);
   
 // implementation
 
@@ -90,4 +94,6 @@ public:
   wxBitmap     m_selected;   
 };
 
+#endif
+
 #endif // __BMPBUTTONH__