X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19c7ac3d3bf1ac2113505a805a79c40ce3db1f5b..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/osx/slider.h diff --git a/include/wx/osx/slider.h b/include/wx/osx/slider.h index f0b416e11f..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 ; @@ -76,11 +73,14 @@ public: void Command(wxCommandEvent& event); // osx specific event handling common for all osx-ports - - virtual bool HandleClicked( double timestampsec ); + + virtual bool OSXHandleClicked( double timestampsec ); 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);