X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9eee2db810695ae4417e9935475f268bb68bbac..c3c62822fdda9d340179dec663a806e905882cc9:/include/wx/os2/bmpbuttn.h diff --git a/include/wx/os2/bmpbuttn.h b/include/wx/os2/bmpbuttn.h index d6ae3d84f3..e7e2dfef31 100644 --- a/include/wx/os2/bmpbuttn.h +++ b/include/wx/os2/bmpbuttn.h @@ -13,8 +13,9 @@ #define _WX_BMPBUTTN_H_ #include "wx/button.h" +#include "wx/dcclient.h" -WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxButtonNameStr[]; #define wxDEFAULT_BUTTON_MARGIN 4 @@ -62,17 +63,9 @@ public: SetBitmapLabel(rBitmap); } -#if WXWIN_COMPATIBILITY - wxBitmap* GetBitmap(void) const - { - return (wxBitmap *)&m_buttonBitmap; - } -#endif - // // Implementation // - virtual void SetDefault(); virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* pItem); private: