X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..94734b4e51431d4d4d5bccaf011b28e82515091e:/include/wx/osx/slider.h diff --git a/include/wx/osx/slider.h b/include/wx/osx/slider.h index 535d61c22e..b4f4cdf8b4 100644 --- a/include/wx/osx/slider.h +++ b/include/wx/osx/slider.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: slider.h +// Name: wx/osx/slider.h // Purpose: wxSlider class // Author: Stefan Csomor // Modified by: @@ -16,8 +16,6 @@ #include "wx/slider.h" #include "wx/stattext.h" -WXDLLIMPEXP_DATA_CORE(extern const char) wxSliderNameStr[]; - // Slider class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase { @@ -59,7 +57,6 @@ public: void SetMax(int maxValue) { SetRange(m_rangeMin, maxValue); } // For trackbars only - void SetTickFreq(int n, int pos); inline int GetTickFreq() const { return m_tickFreq; } void SetPageSize(int pageSize); int GetPageSize() const ; @@ -81,6 +78,9 @@ public: virtual void TriggerScrollEvent( wxEventType scrollEvent ) ; protected: + // Platform-specific implementation of SetTickFreq + virtual void DoSetTickFreq(int freq); + virtual wxSize DoGetBestSize() const; virtual void DoSetSize(int x, int y, int w, int h, int sizeFlags); virtual void DoMoveWindow(int x, int y, int w, int h);