X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e75491071dbefcada61175e3eb89ce4edf335983..15588590901d21c6ad14fd27da9da5a8118ef848:/include/wx/mac/spinbutt.h diff --git a/include/wx/mac/spinbutt.h b/include/wx/mac/spinbutt.h index 3903eecb29..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,16 +56,19 @@ 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: - virtual wxSize DoGetBestSize(); + void MacHandleValueChanged( int inc ) ; + virtual wxSize DoGetBestSize() const; int m_value ; private: