]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/spinbutt.h
Fixed OS/2 specific defines (there's no such thing as WXOS2).
[wxWidgets.git] / include / wx / cocoa / spinbutt.h
index cc55ddf4463e5481f35540750d825f5d7cb3877a..43c8290b515ebda8de66e9d604a561f018abb808 100644 (file)
@@ -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__