X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/osx/slider.h diff --git a/include/wx/osx/slider.h b/include/wx/osx/slider.h index f2f40043e4..bd99512dca 100644 --- a/include/wx/osx/slider.h +++ b/include/wx/osx/slider.h @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: slider.h +// Name: wx/osx/slider.h // Purpose: wxSlider class // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -16,8 +15,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 +56,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 +72,14 @@ public: void Command(wxCommandEvent& event); // osx specific event handling common for all osx-ports - - virtual bool HandleClicked( double timestampsec ); - void MacHandleControlClick(WXWidget control, wxInt16 controlpart, bool mouseStillDown); + + 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);