- wnd = new wxTextCtrl(m_WParser->GetWindow(), -1, tag.GetParam(wxT("NAME")),
- wxPoint(0,0), wxSize(ax, ay), wxTE_MULTILINE);
+ wnd = new wxTextCtrl
+ (
+ m_WParser->GetWindowInterface()->GetHTMLWindow(),
+ wxID_ANY,
+ tag.GetParam(wxT("NAME")),
+ wxPoint(0,0),
+ wxSize(ax, ay),
+ wxTE_MULTILINE
+ );