Partially applied [ 632321 ] XRC object_ref fix
1. Fix object_ref so it at least works, with this I mean XRC was not even handling the little sample in tn0014.txt correct. Hans Van Leemputten (hansvl) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1110,7 +1110,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);
|
||||
|
Reference in New Issue
Block a user