X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fdc16adf72fbd051d1f4ffdbc8d35d00b3e2837..3c029873c66cfdc0dcbf52958970273435ba02fc:/include/wx/msw/bmpbuttn.h diff --git a/include/wx/msw/bmpbuttn.h b/include/wx/msw/bmpbuttn.h index 2c4ec78da1..86ffd452a4 100644 --- a/include/wx/msw/bmpbuttn.h +++ b/include/wx/msw/bmpbuttn.h @@ -44,14 +44,15 @@ public: // Implementation virtual bool SetBackgroundColour(const wxColour& colour); - virtual void SetDefault(); virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *item); virtual void DrawFace( WXHDC dc, int left, int top, int right, int bottom, bool sel ); virtual void DrawButtonFocus( WXHDC dc, int left, int top, int right, int bottom, bool sel ); 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);