]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/slider.h
Do not #undef wxNEED_PRINTF_CONVERSION if wxVsnprintf_ has not been defined
[wxWidgets.git] / include / wx / slider.h
index 512e40132880a92aff4f8fd4cc2c307d8edc23e5..dfd4a63904b39480de4cd7b499c7564401db63cc 100644 (file)
@@ -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)