From 98978a10b79e95dca76ac6da8192a88023a7a36f Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Sat, 14 Feb 2009 08:01:56 +0000 Subject: [PATCH] Remove the "double border" around the search ctrl. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/srchctrl.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osx/cocoa/srchctrl.mm b/src/osx/cocoa/srchctrl.mm index 4ca6328909..0ed85e50f3 100644 --- a/src/osx/cocoa/srchctrl.mm +++ b/src/osx/cocoa/srchctrl.mm @@ -165,6 +165,9 @@ 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