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
This commit is contained in:
Kevin Ollivier
2009-03-10 04:56:32 +00:00
parent ba4800d3ae
commit b13d363b87

View File

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