For search ctrl, the bordered and bezeled styles destroy the control's rounded border and white background for some reason. This gives us "double borders", but for the moment it's better than the old look.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-03-07 04:20:52 +00:00
parent c2a4d42831
commit 7e9d3e1e9f

View File

@@ -165,9 +165,6 @@ 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;