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/trunk@18311
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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);
</object>
<object_ref name="bar" ref="foo">
<value>bar</value> <!-- override! -->
- </object>
+ </object_ref>
is identical to:
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);