X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6c255cbc0a0f6757b9bef432aa30becd1b3da91..0451a04544e6abc61a3e81ee47b43f9067308b6b:/include/wx/msw/bmpbuttn.h 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) };