From: Kevin Ollivier Date: Wed, 18 Mar 2009 23:12:25 +0000 (+0000) Subject: Fix toggle button style. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9af2e240f05a0035dabd9ceaccadad2c3b8133f8?hp=c25665759055290f25645c910c80ee067f1fbdf5 Fix toggle button style. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/tglbtn.mm b/src/osx/cocoa/tglbtn.mm index f5d052809e..2e3aba3826 100644 --- a/src/osx/cocoa/tglbtn.mm +++ b/src/osx/cocoa/tglbtn.mm @@ -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;