X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4765d335f603c29f1fd300288ff1d40a118fcf0e..ec75d791f043b3b43cac9825a2c62e9d5321e616:/include/wx/mac/spinbutt.h diff --git a/include/wx/mac/spinbutt.h b/include/wx/mac/spinbutt.h index 9909adfea9..80e67b942c 100644 --- a/include/wx/mac/spinbutt.h +++ b/include/wx/mac/spinbutt.h @@ -12,7 +12,7 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "spinbutt.h" #endif @@ -33,7 +33,7 @@ class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase { public: // construction - wxSpinButton() { } + wxSpinButton(); wxSpinButton(wxWindow *parent, wxWindowID id = -1, @@ -56,15 +56,18 @@ 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); // implementation - virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ; + virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ; protected: + void MacHandleValueChanged( int inc ) ; virtual wxSize DoGetBestSize() const; int m_value ;