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:
@@ -245,12 +245,9 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// base initialization
|
// base initialization
|
||||||
if ( !CreateBase(parent, id, pos, size, style, validator, name) )
|
if ( !CreateControl(parent, id, pos, size, style, validator, name) )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if ( parent )
|
|
||||||
parent->AddChild(this);
|
|
||||||
|
|
||||||
// translate wxWin style flags to MSW ones
|
// translate wxWin style flags to MSW ones
|
||||||
WXDWORD msStyle = MSWGetCreateWindowFlags();
|
WXDWORD msStyle = MSWGetCreateWindowFlags();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user