void wxUnknownControlContainer::AddChild(wxWindowBase *child)
{
- wxASSERT_MSG( !m_controlAdded, wxT("Couldn't add two unknown controls to the same container!") )
+ wxASSERT_MSG( !m_controlAdded, wxT("Couldn't add two unknown controls to the same container!") );
wxPanel::AddChild(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);