From b13d363b87017dbac11e74d11447288f17b62998 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Tue, 10 Mar 2009 04:56:32 +0000 Subject: [PATCH] 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 --- src/osx/cocoa/srchctrl.mm | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.2