]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_unkwn.cpp
made GetColourFromGTKWidget() more general, it is now used for all colours
[wxWidgets.git] / 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);
     
     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);
     m_controlAdded = TRUE;
     
     wxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);