]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_panel.cpp
removed libxpm dependencies from makefiles
[wxWidgets.git] / contrib / src / xml / xh_panel.cpp
index 0c09dd27d69ad9c72eaf8c83eb193bae5e72b95b..71c6998b0b1c0d32b0d5cd5c4c7c220c81310547 100644 (file)
@@ -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);