X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..c8e1af672f46e93ae2fe6d7f9d5b35a3d8d49c16:/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;