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,23 +27,18 @@ class WXDLLEXPORT wxStaticBox: public wxStaticBoxBase, protected wxCocoaNSBox
// ------------------------------------------------------------------------
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();
// ------------------------------------------------------------------------