X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f46c20bc4cc5be9b358a6e6caad39c1f8498cae..e10972f6c1436a6dcd5427b4e3913bb0f398e045:/include/wx/cocoa/slider.h?ds=sidebyside diff --git a/include/wx/cocoa/slider.h b/include/wx/cocoa/slider.h index 1d2a164666..46a4ef7c40 100644 --- a/include/wx/cocoa/slider.h +++ b/include/wx/cocoa/slider.h @@ -19,7 +19,7 @@ // ======================================================================== // wxSlider // ======================================================================== -class WXDLLEXPORT wxSlider: public wxSliderBase, protected wxCocoaNSSlider +class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase, protected wxCocoaNSSlider { DECLARE_DYNAMIC_CLASS(wxSlider) DECLARE_EVENT_TABLE() @@ -92,14 +92,16 @@ public: // these methods get/set the length of the slider pointer in pixels virtual void SetThumbLength(int lenPixels); virtual int GetThumbLength() const; - + // copied from (wxSliderCocoa.h) - virtual void SetTickFreq(int n, int pos); virtual int GetTickFreq() const; - virtual void ClearTicks() { SetTickFreq(0, 0); } + virtual void ClearTicks() { SetTickFreq(0); } virtual void SetTickPos(int pos); +protected: + // Platform-specific implementation of SetTickFreq + virtual void DoSetTickFreq(int freq); }; #endif