]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove the "double border" around the search ctrl.
authorKevin Ollivier <kevino@theolliviers.com>
Sat, 14 Feb 2009 08:01:56 +0000 (08:01 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sat, 14 Feb 2009 08:01:56 +0000 (08:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/srchctrl.mm

index 4ca6328909b98333699dc257d565cee8042880b6..0ed85e50f37c82a9fa5c8b81f993942cfcf19b0e 100644 (file)
@@ -165,6 +165,9 @@ 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;