X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4a4eafbcc77d758d064a52873f5032e25d6020d..c48bdb0c28dd146b89bcbfeda43db1b48d4a343b:/include/wx/gtk/button.h diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index 2b7f9a0278..7d1e5847a1 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -68,6 +68,8 @@ protected: virtual void DoSetBitmapPosition(wxDirection dir); private: + typedef wxButtonBase base_type; + // common part of all ctors void Init() { @@ -89,7 +91,6 @@ private: // show the given bitmap (must be valid) void GTKDoShowBitmap(const wxBitmap& bitmap); - // the bitmaps for the different state of the buttons, all of them may be // invalid and the button only shows a bitmap at all if State_Normal bitmap // is valid @@ -101,7 +102,6 @@ private: // true iff the button is in pressed state bool m_isPressed; - DECLARE_DYNAMIC_CLASS(wxButton) };