]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_panel.cpp
fixed typo
[wxWidgets.git] / contrib / src / xml / xh_panel.cpp
index 6240cb96b10a1ec13a7b6a026a4095173db76377..2c870618e5e0d43ee13a147109442e169fc65fe6 100644 (file)
@@ -36,19 +36,19 @@ 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(),
                                  GetID(),
                                  GetPosition(), GetSize(),
-                                 GetStyle(_T("style"), 0),
+                                 GetStyle(wxT("style"), 0),
                                  GetName());
     else
                                  GetName());
     else
-        panel->Create(m_ParentAsWindow,
+        panel->Create(m_parentAsWindow,
                                  GetID(),
                                  GetPosition(), GetSize(),
                                  GetID(),
                                  GetPosition(), GetSize(),
-                                 GetStyle(_T("style"), 0),
+                                 GetStyle(wxT("style"), 0),
                                  GetName());
     SetupWindow(panel);
     CreateChildren(panel);
                                  GetName());
     SetupWindow(panel);
     CreateChildren(panel);
@@ -59,5 +59,5 @@ wxObject *wxPanelXmlHandler::DoCreateResource()
 
 bool wxPanelXmlHandler::CanHandle(wxXmlNode *node)
 {
 
 bool wxPanelXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return IsOfClass(node, _T("wxPanel"));
+    return IsOfClass(node, wxT("wxPanel"));
 }
 }