X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/768d9ec8ca53f44275a6250c44bb69bfc2840e8c..c21f7aa162dfc4ff910c67a9d6241557dab96075:/include/wx/cocoa/spinbutt.h diff --git a/include/wx/cocoa/spinbutt.h b/include/wx/cocoa/spinbutt.h index cc55ddf446..43c8290b51 100644 --- a/include/wx/cocoa/spinbutt.h +++ b/include/wx/cocoa/spinbutt.h @@ -39,7 +39,7 @@ public: bool Create(wxWindow *parent, wxWindowID winid = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSL_HORIZONTAL, + long style = wxSP_HORIZONTAL, const wxString& name = wxSPIN_BUTTON_NAME); virtual ~wxSpinButton(); @@ -47,16 +47,17 @@ public: // Cocoa callbacks // ------------------------------------------------------------------------ protected: + virtual void CocoaTarget_action(); // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------ public: // Pure Virtuals - virtual int GetValue() const { return 0; } - virtual void SetValue(int value) { } + virtual int GetValue() const; + virtual void SetValue(int value); // retrieve/change the range - virtual void SetRange(int minValue, int maxValue) { } + virtual void SetRange(int minValue, int maxValue); }; #endif // __WX_COCOA_SPINBUTT_H__