X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6c255cbc0a0f6757b9bef432aa30becd1b3da91..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/msw/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/msw/bmpbuttn.h b/include/wx/msw/bmpbuttn.h index fc92a31363..c7e2113a74 100644 --- a/include/wx/msw/bmpbuttn.h +++ b/include/wx/msw/bmpbuttn.h @@ -59,8 +59,15 @@ public: protected: virtual wxSize DoGetBestSize() const; + // invalidate m_brushDisabled when system colours change + void OnSysColourChanged(wxSysColourChangedEvent& event); + + + // the brush we use to draw disabled buttons wxBrush m_brushDisabled; + + DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS_NO_COPY(wxBitmapButton) };