]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/slider.h
explained how the signature works
[wxWidgets.git] / include / wx / slider.h
index 512e40132880a92aff4f8fd4cc2c307d8edc23e5..1ed1aa749f9d4f6768d0ac0994f6f367e4f32351 100644 (file)
@@ -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)