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