X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5d6954b87d910969226ffade9714db7429211f3..710968c3aa9be5b1de7469e1a9a4da0cd2481b6c:/src/xrc/xh_unkwn.cpp diff --git a/src/xrc/xh_unkwn.cpp b/src/xrc/xh_unkwn.cpp index ac97564018..5896ed5e0b 100644 --- a/src/xrc/xh_unkwn.cpp +++ b/src/xrc/xh_unkwn.cpp @@ -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);