X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..0836924e6bd51814473ec9036d7bb853a8f15803:/include/wx/slider.h diff --git a/include/wx/slider.h b/include/wx/slider.h index 512e401328..1ed1aa749f 100644 --- a/include/wx/slider.h +++ b/include/wx/slider.h @@ -5,7 +5,7 @@ // Modified by: // Created: 09.02.01 // RCS-ID: $Id$ -// Copyright: (c) 1996-2001 wxWindows team +// Copyright: (c) 1996-2001 wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -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)