/////////////////////////////////////////////////////////////////////////////
-// Name: slider.h
+// Name: wx/osx/slider.h
// Purpose: wxSlider class
// Author: Stefan Csomor
// Modified by:
#include "wx/slider.h"
#include "wx/stattext.h"
-WXDLLIMPEXP_DATA_CORE(extern const char) wxSliderNameStr[];
-
// Slider
class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase
{
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 ;
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);