]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/spinbutt.mm
added wxUSE_STDPATHS
[wxWidgets.git] / src / cocoa / spinbutt.mm
index 9cc50459470d041dc87717d659269f9b17258434..336787d5721cad5701ae25fc621ad5bc4a0451ac 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/07/14
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows licence
+// Licence:    wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -56,7 +56,7 @@ int wxSpinButton::GetValue() const
 
 void wxSpinButton::SetValue(int value)
 {
-    return [(NSStepper*)m_cocoaNSView setIntValue:value];
+    [(NSStepper*)m_cocoaNSView setIntValue:value];
 }
 
 void wxSpinButton::SetRange(int minValue, int maxValue)