From: Kevin Ollivier Date: Sat, 7 Mar 2009 04:20:52 +0000 (+0000) Subject: For search ctrl, the bordered and bezeled styles destroy the control's rounded border... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7e9d3e1e9fed75fadcb48f144c3d5b17275eafe6 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 --- diff --git a/src/osx/cocoa/srchctrl.mm b/src/osx/cocoa/srchctrl.mm index 0ed85e50f3..4ca6328909 100644 --- a/src/osx/cocoa/srchctrl.mm +++ b/src/osx/cocoa/srchctrl.mm @@ -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;