X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11573ad88279419c6b2c94f2840372071134e488..c5fc899bf29ca7d9c4e2a070e28228b430a68dd3:/src/cocoa/spinbutt.mm diff --git a/src/cocoa/spinbutt.mm b/src/cocoa/spinbutt.mm index 9cc5045947..5a823ce2ec 100644 --- a/src/cocoa/spinbutt.mm +++ b/src/cocoa/spinbutt.mm @@ -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)