X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a559d70856c65f8fd91d6e56c3e98c3828e18db7..8173fefe0a9d61cfe5244a301044aa2269bc1c31:/contrib/src/xml/xh_text.cpp diff --git a/contrib/src/xml/xh_text.cpp b/contrib/src/xml/xh_text.cpp index a5d9b35a93..bdba8d57cc 100644 --- a/contrib/src/xml/xh_text.cpp +++ b/contrib/src/xml/xh_text.cpp @@ -35,7 +35,7 @@ wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler() wxObject *wxTextCtrlXmlHandler::DoCreateResource() { - wxTextCtrl *text = new wxTextCtrl(m_ParentAsWindow, + wxTextCtrl *text = new wxTextCtrl(m_parentAsWindow, GetID(), GetText(wxT("value")), GetPosition(), GetSize(),