Fix toggle button style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c256657590
commit
9af2e240f0
@ -37,7 +37,7 @@ wxWidgetImplType* wxWidgetImpl::CreateToggleButton( wxWindowMac* wxpeer,
|
||||
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
|
||||
wxNSButton* v = [[wxNSButton alloc] initWithFrame:r];
|
||||
|
||||
[v setBezelStyle:NSRoundedBezelStyle];
|
||||
[v setBezelStyle:NSSmallSquareBezelStyle];
|
||||
[v setButtonType:NSOnOffButton];
|
||||
wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
|
||||
return c;
|
||||
|
Loading…
Reference in New Issue
Block a user