From: Kevin Ollivier Date: Tue, 10 Mar 2009 04:56:32 +0000 (+0000) Subject: Border styles create a double-border on native search ctrl, just use the one Apple... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b13d363b87017dbac11e74d11447288f17b62998 Border styles create a double-border on native search ctrl, just use the one Apple draws. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/srchctrl.mm b/src/osx/cocoa/srchctrl.mm index 4ca6328909..32d3514b3a 100644 --- a/src/osx/cocoa/srchctrl.mm +++ b/src/osx/cocoa/srchctrl.mm @@ -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; }