]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_unkwn.cpp
removed implicit dependency on wxPNGHandler from wxGTK's wxBitmapDataObject
[wxWidgets.git] / contrib / 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);
-    child->SetId(wxXmlResource::GetXMLID(m_controlName));
+    child->SetId(wxXmlResource::GetXRCID(m_controlName));
     m_controlAdded = TRUE;
 
     wxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);