From f4d233c74aa689b9d5160dcdddc5324812c972a3 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 21 Jul 2004 22:07:38 +0000 Subject: [PATCH] Call CreateControl instead of CreateBase git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/textctrl.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 6c52d71047..b0d7135cc0 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -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(); -- 2.45.2