]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/slider.h
on xcode native we end up with several definitions otherwise
[wxWidgets.git] / include / wx / slider.h
index 31fbe554bc7cc2ad95d0ae01c0e8e36f70aa5ca7..dfd4a63904b39480de4cd7b499c7564401db63cc 100644 (file)
@@ -80,6 +80,11 @@ public:
     virtual int GetSelStart() const { return GetMax(); }
     virtual void SetSelection(int WXUNUSED(min), int WXUNUSED(max)) { }
 
+
+    virtual void ApplyParentThemeBackground(const wxColour& bg)
+        { SetBackgroundColour(bg); }
+
+
 private:
     DECLARE_NO_COPY_CLASS(wxSliderBase)
 };
@@ -93,7 +98,6 @@ private:
 #elif defined(__WXMSW__)
     #include "wx/msw/slider95.h"
     #define wxSlider wxSlider95
-    #define sm_classwxSlider sm_classwxSlider95
 #elif defined(__WXMOTIF__)
     #include "wx/motif/slider.h"
 #elif defined(__WXGTK__)