wxStaticBox constructor is not supposed to take a wxValidator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2004-09-29 05:18:38 +00:00
parent 9795bd2ee4
commit a1f4186efa
2 changed files with 8 additions and 16 deletions

View File

@@ -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)]);