]> git.saurik.com Git - wxWidgets.git/commitdiff
Border styles create a double-border on native search ctrl, just use the one Apple...
authorKevin Ollivier <kevino@theolliviers.com>
Tue, 10 Mar 2009 04:56:32 +0000 (04:56 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Tue, 10 Mar 2009 04:56:32 +0000 (04:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/srchctrl.mm

index 4ca6328909b98333699dc257d565cee8042880b6..32d3514b3a5807245936bcba5e4a10c5bab3aa75 100644 (file)
@@ -166,6 +166,7 @@ wxWidgetImplType* wxWidgetImpl::CreateSearchControl( wxTextCtrl* wxpeer,
     [[v cell] setCancelButtonCell:nil];
 
     wxNSSearchFieldControl* c = new wxNSSearchFieldControl( wxpeer, v );
+    c->SetNeedsFrame( false );
     c->SetStringValue( str );
     return c;
 }