]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/srchctrl.mm
add alignment flags support to wxSpinCtrl[Double] (closes #10621)
[wxWidgets.git] / src / osx / cocoa / srchctrl.mm
index 0ed85e50f37c82a9fa5c8b81f993942cfcf19b0e..32d3514b3a5807245936bcba5e4a10c5bab3aa75 100644 (file)
@@ -165,10 +165,8 @@ 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->SetNeedsFrame( false );
     c->SetStringValue( str );
     return c;
 }