X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..9a63feff3a93d9d9dc36f155d3a5c3a36cb922f0:/include/wx/msw/radiobut.h?ds=sidebyside diff --git a/include/wx/msw/radiobut.h b/include/wx/msw/radiobut.h index b04f477ae6..da92a8e18f 100644 --- a/include/wx/msw/radiobut.h +++ b/include/wx/msw/radiobut.h @@ -52,7 +52,9 @@ public: // implementation only from now on virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void Command(wxCommandEvent& event); - virtual bool CanApplyParentThemeBackground() const { return true; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + protected: virtual wxSize DoGetBestSize() const;