X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..c6e62f74fcac5b62889b59e7ce7a41d0ce884d7b:/src/msw/control.cpp diff --git a/src/msw/control.cpp b/src/msw/control.cpp index f6f67bac35..ea72d9e9f3 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -56,6 +56,22 @@ wxControl::~wxControl() m_isBeingDeleted = TRUE; } + +bool wxControl::Create(wxWindow *parent, wxWindowID id, + const wxPoint& pos, + const wxSize& size, long style, + const wxValidator& validator, + const wxString& name) +{ + bool rval = wxWindow::Create(parent, id, pos, size, style, name); + if (rval) { +#if wxUSE_VALIDATORS + SetValidator(validator); +#endif + } + return rval; +} + bool wxControl::MSWCreateControl(const wxChar *classname, WXDWORD style, const wxPoint& pos,