Call CreateControl instead of CreateBase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-07-21 22:07:38 +00:00
parent f8b2997476
commit f4d233c74a

View File

@@ -245,12 +245,9 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
#endif
// base initialization
if ( !CreateBase(parent, id, pos, size, style, validator, name) )
if ( !CreateControl(parent, id, pos, size, style, validator, name) )
return FALSE;
if ( parent )
parent->AddChild(this);
// translate wxWin style flags to MSW ones
WXDWORD msStyle = MSWGetCreateWindowFlags();