X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f1f21d2a54124859b1fbeaa31ebf373bb5f0114..25250d335f869088a3551db226f25079c28f65fb:/include/wx/msw/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/msw/bmpbuttn.h b/include/wx/msw/bmpbuttn.h index 08ef3da8a7..fb53b039bf 100644 --- a/include/wx/msw/bmpbuttn.h +++ b/include/wx/msw/bmpbuttn.h @@ -16,7 +16,7 @@ #include "wx/bitmap.h" #include "wx/brush.h" -class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase +class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase { public: wxBitmapButton() { Init(); } @@ -68,6 +68,8 @@ protected: // reimplement some base class virtuals virtual wxSize DoGetBestSize() const; + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + // invalidate m_brushDisabled when system colours change void OnSysColourChanged(wxSysColourChangedEvent& event);