X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..f20275d9c54300a403a85a9a6afd42e5e1e9f31c:/include/wx/slider.h diff --git a/include/wx/slider.h b/include/wx/slider.h index 512e401328..dfd4a63904 100644 --- a/include/wx/slider.h +++ b/include/wx/slider.h @@ -81,7 +81,9 @@ public: virtual void SetSelection(int WXUNUSED(min), int WXUNUSED(max)) { } - virtual bool CanApplyParentThemeBackground() const { return true; } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + private: DECLARE_NO_COPY_CLASS(wxSliderBase)