]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xmlres.cpp
Use WXDLLEXPORT_DATA for wx*NameStr's
[wxWidgets.git] / contrib / src / xrc / xmlres.cpp
index b711c954407593abde26e41e868d0f03929bbe6a..22f6b0a69611c4fecf357a7e9533dfc36dcd17c4 100644 (file)
@@ -1109,7 +1109,7 @@ void wxXmlResourceHandler::CreateChildren(wxObject *parent, bool this_hnd_only)
     while (n)
     {
         if (n->GetType() == wxXML_ELEMENT_NODE &&
-            n->GetName() == wxT("object"))
+           (n->GetName() == wxT("object") || n->GetName() == wxT("object_ref")))
         {
             if (this_hnd_only && CanHandle(n))
                 CreateResource(n, parent, NULL);