]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/tglbtn.mm
Fix toggle button style.
[wxWidgets.git] / 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;