]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix toggle button style.
authorKevin Ollivier <kevino@theolliviers.com>
Wed, 18 Mar 2009 23:12:25 +0000 (23:12 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Wed, 18 Mar 2009 23:12:25 +0000 (23:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/tglbtn.mm

index f5d052809e09c2d0f3b216620be1c65fa8174abb..2e3aba3826a7e7ffac1691cb5a17dc1a31151647 100644 (file)
@@ -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;