]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_unkwn.cpp
Take into account icon mask in wxStaticBitmap
[wxWidgets.git] / src / xrc / xh_unkwn.cpp
index ac97564018d897fccc15ee3c028f96fe48eb8d9f..99a514c18fc66a5c9dc1176abb26578265151b0d 100644 (file)
@@ -52,13 +52,13 @@ protected:
 
 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);