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