]> git.saurik.com Git - wxWidgets.git/commitdiff
For search ctrl, the bordered and bezeled styles destroy the control's rounded border...
authorKevin Ollivier <kevino@theolliviers.com>
Sat, 7 Mar 2009 04:20:52 +0000 (04:20 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sat, 7 Mar 2009 04:20:52 +0000 (04:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/srchctrl.mm

index 0ed85e50f37c82a9fa5c8b81f993942cfcf19b0e..4ca6328909b98333699dc257d565cee8042880b6 100644 (file)
@@ -165,9 +165,6 @@ wxWidgetImplType* wxWidgetImpl::CreateSearchControl( wxTextCtrl* wxpeer,
     // per wx default cancel is not shown
     [[v cell] setCancelButtonCell:nil];
 
-    [v setBezeled:NO];
-    [v setBordered:NO];
-
     wxNSSearchFieldControl* c = new wxNSSearchFieldControl( wxpeer, v );
     c->SetStringValue( str );
     return c;