]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/srchctrl.mm
fix wxGTK1 compilation after wxTextEntry DoGetValue() change
[wxWidgets.git] / src / osx / cocoa / srchctrl.mm
index 4ca6328909b98333699dc257d565cee8042880b6..0ed85e50f37c82a9fa5c8b81f993942cfcf19b0e 100644 (file)
@@ -165,6 +165,9 @@ wxWidgetImplType* wxWidgetImpl::CreateSearchControl( wxTextCtrl* wxpeer,
     // per wx default cancel is not shown
     [[v cell] setCancelButtonCell:nil];
 
     // 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;
     wxNSSearchFieldControl* c = new wxNSSearchFieldControl( wxpeer, v );
     c->SetStringValue( str );
     return c;