X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e066e2566a4e5db3510fe6a204d66850eaeceade..8173fefe0a9d61cfe5244a301044aa2269bc1c31:/contrib/src/xml/xh_panel.cpp?ds=sidebyside diff --git a/contrib/src/xml/xh_panel.cpp b/contrib/src/xml/xh_panel.cpp index 6240cb96b1..2c870618e5 100644 --- a/contrib/src/xml/xh_panel.cpp +++ b/contrib/src/xml/xh_panel.cpp @@ -36,19 +36,19 @@ wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler() wxObject *wxPanelXmlHandler::DoCreateResource() { - wxPanel *panel = wxDynamicCast(m_Instance, wxPanel); + wxPanel *panel = wxDynamicCast(m_instance, wxPanel); if (panel == NULL) - panel = new wxPanel(m_ParentAsWindow, + panel = new wxPanel(m_parentAsWindow, GetID(), GetPosition(), GetSize(), - GetStyle(_T("style"), 0), + GetStyle(wxT("style"), 0), GetName()); else - panel->Create(m_ParentAsWindow, + panel->Create(m_parentAsWindow, GetID(), GetPosition(), GetSize(), - GetStyle(_T("style"), 0), + GetStyle(wxT("style"), 0), GetName()); SetupWindow(panel); CreateChildren(panel); @@ -59,5 +59,5 @@ wxObject *wxPanelXmlHandler::DoCreateResource() bool wxPanelXmlHandler::CanHandle(wxXmlNode *node) { - return IsOfClass(node, _T("wxPanel")); + return IsOfClass(node, wxT("wxPanel")); }