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:
@@ -166,6 +166,7 @@ wxWidgetImplType* wxWidgetImpl::CreateSearchControl( wxTextCtrl* wxpeer,
|
||||
[[v cell] setCancelButtonCell:nil];
|
||||
|
||||
wxNSSearchFieldControl* c = new wxNSSearchFieldControl( wxpeer, v );
|
||||
c->SetNeedsFrame( false );
|
||||
c->SetStringValue( str );
|
||||
return c;
|
||||
}
|
||||
|
Reference in New Issue
Block a user