X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c6eb3a84be918dcfed2496d014549e13af0f0e9..101872998b66ce9abf3d1280956de6495f40ddf8:/include/wx/osx/carbon/spinbutt.h?ds=sidebyside diff --git a/include/wx/osx/carbon/spinbutt.h b/include/wx/osx/carbon/spinbutt.h index f7cdb58006..5c34e911d8 100644 --- a/include/wx/osx/carbon/spinbutt.h +++ b/include/wx/osx/carbon/spinbutt.h @@ -52,21 +52,23 @@ public: // accessors - virtual int GetMin() const; - virtual int GetMax() const; - virtual int GetValue() const; - virtual void SetValue(int val); virtual void SetRange(int minVal, int maxVal); + virtual int GetValue() const ; + virtual void SetValue(int val); // implementation +#if wxOSX_USE_CARBON virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; - virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ; +#endif + // osx specific event handling common for all osx-ports + + virtual bool HandleClicked( double timestampsec ); protected: - void MacHandleValueChanged( int inc ) ; - virtual wxSize DoGetBestSize() const; - int m_value ; + void SendThumbTrackEvent() ; + + virtual wxSize DoGetBestSize() const; private: DECLARE_DYNAMIC_CLASS(wxSpinButton)