X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/065e208ec09e3d08d51d9604497f92f53c210f93..907173e51df6d2a91d65463ddf6ce810d3fd921a:/src/cocoa/statbox.mm diff --git a/src/cocoa/statbox.mm b/src/cocoa/statbox.mm index f63ff5f9c0..f60c482e30 100644 --- a/src/cocoa/statbox.mm +++ b/src/cocoa/statbox.mm @@ -27,14 +27,11 @@ END_EVENT_TABLE() WX_IMPLEMENT_COCOA_OWNER(wxStaticBox,NSBox,NSView,NSView) bool wxStaticBox::Create(wxWindow *parent, wxWindowID winid, - const wxString& title, - const wxPoint& pos, - const wxSize& size, - long style, const wxValidator& validator, - const wxString& name) + const wxString& title, const wxPoint& pos, const wxSize& size, + long style, const wxString& name) { wxAutoNSAutoreleasePool pool; - if(!CreateControl(parent,winid,pos,size,style,validator,name)) + if(!CreateControl(parent,winid,pos,size,style,wxDefaultValidator,name)) return false; m_cocoaNSView = NULL; SetNSBox([[NSBox alloc] initWithFrame:MakeDefaultNSRect(size)]);