wxControl child of wxControlBase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-01-07 14:59:14 +00:00
parent 098963c350
commit 5a2155efdb
2 changed files with 15 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ wxControl::wxControl()
m_inSetValue = FALSE;
}
wxControl::wxControl( wxWindow *parent,
bool wxControl::Create( wxWindow *parent,
wxWindowID id,
const wxPoint &pos,
const wxSize &size,
@@ -51,11 +51,13 @@ wxControl::wxControl( wxWindow *parent,
const wxValidator& validator,
const wxString &name)
{
(void)Create(parent, id, pos, size, style, name);
bool ret = wxWindow::Create(parent, id, pos, size, style, name);
#if wxUSE_VALIDATORS
SetValidator(validator);
#endif
return ret;
}
wxControl::~wxControl()