X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a559d70856c65f8fd91d6e56c3e98c3828e18db7..9d8c2f419f522408a922277df330d4c4511befb9:/contrib/src/xml/xh_panel.cpp diff --git a/contrib/src/xml/xh_panel.cpp b/contrib/src/xml/xh_panel.cpp index 0c09dd27d6..71c6998b0b 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(wxT("style"), 0), + GetStyle(wxT("style"), wxTAB_TRAVERSAL), GetName()); else - panel->Create(m_ParentAsWindow, + panel->Create(m_parentAsWindow, GetID(), GetPosition(), GetSize(), - GetStyle(wxT("style"), 0), + GetStyle(wxT("style"), wxTAB_TRAVERSAL), GetName()); SetupWindow(panel); CreateChildren(panel);