X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d697657f1ec08e787f06bbb36be3d1bb4858101d..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/os2/slider.h diff --git a/include/wx/os2/slider.h b/include/wx/os2/slider.h index 006158d7b8..05fc54887e 100644 --- a/include/wx/os2/slider.h +++ b/include/wx/os2/slider.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: slider.h +// Name: wx/os2/slider.h // Purpose: wxSlider class // Author: David Webster // Modified by: @@ -15,7 +15,7 @@ #include "wx/control.h" // Slider -class WXDLLEXPORT wxSlider: public wxSliderBase +class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase { public: wxSlider(); @@ -27,9 +27,7 @@ public: ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = wxSL_HORIZONTAL -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxSliderNameStr ) { @@ -41,13 +39,11 @@ public: ,rPos ,rSize ,lStyle -#if wxUSE_VALIDATORS ,rValidator -#endif ,rsName ); } - ~wxSlider(); + virtual ~wxSlider(); bool Create( wxWindow* pParent ,wxWindowID vId @@ -57,9 +53,7 @@ public: ,const wxPoint& rPos = wxDefaultPosition ,const wxSize& rSize = wxDefaultSize ,long lStyle = wxSL_HORIZONTAL -#if wxUSE_VALIDATORS ,const wxValidator& rValidator = wxDefaultValidator -#endif ,const wxString& rsName = wxSliderNameStr ); @@ -100,9 +94,6 @@ public: ); void SetThumbLength(int nLen) ; void SetTick(int ntickPos) ; - void SetTickFreq( int n - ,int nPos - ); // // IMPLEMENTATION @@ -154,6 +145,10 @@ protected: ,int nHeight ,int nSizeFlags = wxSIZE_AUTO ); + + // Platform-specific implementation of SetTickFreq + virtual void DoSetTickFreq(int freq); + private: DECLARE_DYNAMIC_CLASS(wxSlider) }; // end of CLASS wxSlider