X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cefd71d783b6a5547d5078c38cd88dc3b928d1af..a2615ebc22a402b1badb46475f94ab6aa3a64018:/contrib/src/xrc/xh_unkwn.cpp diff --git a/contrib/src/xrc/xh_unkwn.cpp b/contrib/src/xrc/xh_unkwn.cpp index 143ddefb97..5896ed5e0b 100644 --- a/contrib/src/xrc/xh_unkwn.cpp +++ b/contrib/src/xrc/xh_unkwn.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: xh_unkwn.cpp -// Purpose: XML resource for unknown widget +// Purpose: XRC resource for unknown widget // Author: Vaclav Slavik // Created: 2000/09/09 // RCS-ID: $Id$ @@ -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);