X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6c255cbc0a0f6757b9bef432aa30becd1b3da91..d44d0cbd7343e36ddd3657dd97cd5eb7018d2585:/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)
 };