]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_unkwn.cpp
compilation fix
[wxWidgets.git] / src / xrc / xh_unkwn.cpp
index ac97564018d897fccc15ee3c028f96fe48eb8d9f..5896ed5e0b35f3333a2ba29988f49b2e32759385 100644 (file)
@@ -58,7 +58,7 @@ void wxUnknownControlContainer::AddChild(wxWindowBase *child)
 
     SetBackgroundColour(m_bg);
     child->SetName(m_controlName);
 
     SetBackgroundColour(m_bg);
     child->SetName(m_controlName);
-    child->SetId(wxXmlResource::GetXMLID(m_controlName));
+    child->SetId(wxXmlResource::GetXRCID(m_controlName));
     m_controlAdded = TRUE;
 
     wxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);
     m_controlAdded = TRUE;
 
     wxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);