// ------------------------------------------------------------------------
public:
wxStaticBox() { }
- wxStaticBox(wxWindow *parent, wxWindowID winid,
- const wxString& title,
+ wxStaticBox(wxWindow *parent, wxWindowID winid, const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = 0, const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxStaticBoxNameStr)
+ long style = 0, const wxString& name = wxStaticBoxNameStr)
{
- Create(parent, winid, title, pos, size, style, validator, name);
+ Create(parent, winid, title, pos, size, style, name);
}
- bool Create(wxWindow *parent, wxWindowID winid,
- const wxString& title,
+ bool Create(wxWindow *parent, wxWindowID winid, const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxStaticBoxNameStr);
+ long style = 0, const wxString& name = wxStaticBoxNameStr);
virtual ~wxStaticBox();
// ------------------------------------------------------------------------
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)]);