]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_unkwn.cpp
added 'name' to wxEditableListBox ctor
[wxWidgets.git] / contrib / src / xml / xh_unkwn.cpp
index 5a8145c1ff33578eb4d1743fda96166185dc79fd..161b700fd2a372035ab6ea8e0828363260f99d6b 100644 (file)
@@ -38,16 +38,16 @@ wxObject *wxUnknownWidgetXmlHandler::DoCreateResource()
     wxWindow *wnd = NULL;
     
     if (id != -1)
     wxWindow *wnd = NULL;
     
     if (id != -1)
-        wnd = m_ParentAsWindow->FindWindow(id);
+        wnd = m_parentAsWindow->FindWindow(id);
     if (wnd == NULL && !name.IsEmpty())
     if (wnd == NULL && !name.IsEmpty())
-        wnd = m_ParentAsWindow->FindWindow(name);
+        wnd = m_parentAsWindow->FindWindow(name);
         
     if (wnd == NULL)
         wxLogError(wxT("Cannot find specified window for class 'unknown' (id=%li, name='%s')."), id, name.mb_str());
     else
     {
         
     if (wnd == NULL)
         wxLogError(wxT("Cannot find specified window for class 'unknown' (id=%li, name='%s')."), id, name.mb_str());
     else
     {
-        if (wnd->GetParent() != m_ParentAsWindow)
-            wnd->Reparent(m_ParentAsWindow);
+        if (wnd->GetParent() != m_parentAsWindow)
+            wnd->Reparent(m_parentAsWindow);
         SetupWindow(wnd);
     }
 
         SetupWindow(wnd);
     }