X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/osx/slider.h diff --git a/include/wx/osx/slider.h b/include/wx/osx/slider.h index b70ae451b0..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 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);