]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_panel.cpp
fixed typo
[wxWidgets.git] / contrib / src / xml / xh_panel.cpp
index 0c09dd27d69ad9c72eaf8c83eb193bae5e72b95b..2c870618e5e0d43ee13a147109442e169fc65fe6 100644 (file)
@@ -36,16 +36,16 @@ wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler()
 
 wxObject *wxPanelXmlHandler::DoCreateResource()
 { 
 
 wxObject *wxPanelXmlHandler::DoCreateResource()
 { 
-    wxPanel *panel = wxDynamicCast(m_Instance, wxPanel);
+    wxPanel *panel = wxDynamicCast(m_instance, wxPanel);
 
     if (panel == NULL)
 
     if (panel == NULL)
-        panel = new wxPanel(m_ParentAsWindow,
+        panel = new wxPanel(m_parentAsWindow,
                                  GetID(),
                                  GetPosition(), GetSize(),
                                  GetStyle(wxT("style"), 0),
                                  GetName());
     else
                                  GetID(),
                                  GetPosition(), GetSize(),
                                  GetStyle(wxT("style"), 0),
                                  GetName());
     else
-        panel->Create(m_ParentAsWindow,
+        panel->Create(m_parentAsWindow,
                                  GetID(),
                                  GetPosition(), GetSize(),
                                  GetStyle(wxT("style"), 0),
                                  GetID(),
                                  GetPosition(), GetSize(),
                                  GetStyle(wxT("style"), 0),