]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/bmpbuttn.h
Implemented Enable for wxMenuBar to avoid assert
[wxWidgets.git] / include / wx / os2 / bmpbuttn.h
index d6ae3d84f3cee413c9a89ccc57c968236a5f8349..2185eea285fa2e602e8880dd2d47383937be5119 100644 (file)
@@ -13,6 +13,7 @@
 #define _WX_BMPBUTTN_H_
 
 #include "wx/button.h"
+#include "wx/dcclient.h"
 
 WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
 
@@ -62,13 +63,6 @@ public:
         SetBitmapLabel(rBitmap);
     }
 
-#if WXWIN_COMPATIBILITY
-    wxBitmap* GetBitmap(void) const
-    {
-        return (wxBitmap *)&m_buttonBitmap;
-    }
-#endif
-
     //
     // Implementation
     //