From 7e9d3e1e9fed75fadcb48f144c3d5b17275eafe6 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Sat, 7 Mar 2009 04:20:52 +0000 Subject: [PATCH] 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 --- src/osx/cocoa/srchctrl.mm | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.45.2