X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9eee2db810695ae4417e9935475f268bb68bbac..c27bcbd5a7cec9f03b15c69824da99c5bb75924a:/include/wx/os2/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/os2/bmpbuttn.h b/include/wx/os2/bmpbuttn.h index d6ae3d84f3..2185eea285 100644 --- a/include/wx/os2/bmpbuttn.h +++ b/include/wx/os2/bmpbuttn.h @@ -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 //