fixes #13826
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,9 +111,14 @@ wxWidgetImplType* wxWidgetImpl::CreateSpinButton( wxWindowMac* wxpeer,
|
|||||||
[v setMaxValue: maximum];
|
[v setMaxValue: maximum];
|
||||||
[v setIntValue: value];
|
[v setIntValue: value];
|
||||||
|
|
||||||
if ( style & wxSP_WRAP )
|
if ( style & wxSP_HORIZONTAL )
|
||||||
[v setValueWraps:YES];
|
[v rotateByAngle:90.0];
|
||||||
|
|
||||||
|
BOOL wrap = NO;
|
||||||
|
if ( style & wxSP_WRAP )
|
||||||
|
wrap = YES;
|
||||||
|
[v setValueWraps:wrap];
|
||||||
|
|
||||||
wxWidgetCocoaImpl* c = new wxSpinButtonCocoaImpl( wxpeer, v );
|
wxWidgetCocoaImpl* c = new wxSpinButtonCocoaImpl( wxpeer, v );
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user