X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fdc16adf72fbd051d1f4ffdbc8d35d00b3e2837..b7ea712cc26f4289211f4a24e308f40ff6445991:/include/wx/msw/bmpbuttn.h diff --git a/include/wx/msw/bmpbuttn.h b/include/wx/msw/bmpbuttn.h index 2c4ec78da1..93ee168fa7 100644 --- a/include/wx/msw/bmpbuttn.h +++ b/include/wx/msw/bmpbuttn.h @@ -51,7 +51,9 @@ public: virtual void DrawButtonDisable( WXHDC dc, int left, int top, int right, int bottom, bool with_marg ); protected: + // reimplement some base class virtuals virtual wxSize DoGetBestSize() const; + virtual void OnSetBitmap(); // invalidate m_brushDisabled when system colours change void OnSysColourChanged(wxSysColourChangedEvent& event);