X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9cacf3e495f3aacb919ee1046338a25982db86c..c8e1af672f46e93ae2fe6d7f9d5b35a3d8d49c16:/include/wx/slider.h diff --git a/include/wx/slider.h b/include/wx/slider.h index 894b8515fa..0e5d0939b1 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 /////////////////////////////////////////////////////////////////////////////// @@ -22,7 +22,7 @@ #include "wx/control.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxSliderNameStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxSliderNameStr; // ---------------------------------------------------------------------------- // wxSliderBase: define wxSlider interface @@ -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) }; @@ -103,6 +108,8 @@ private: #include "wx/cocoa/slider.h" #elif defined(__WXPM__) #include "wx/os2/slider.h" +#elif defined(__WXPALMOS__) + #include "wx/palmos/slider.h" #endif #endif // wxUSE_SLIDER