added xmlFlags in wxXmlResource() call

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roman Rolinsky
2003-03-12 11:11:54 +00:00
parent 71ae0a1095
commit ea85794973

View File

@@ -5,7 +5,6 @@
# RCS-ID: $Id$ # RCS-ID: $Id$
from xxx import * # xxx imports globals and params from xxx import * # xxx imports globals and params
from wxPython.xrc import *
# Icons # Icons
import images import images
@@ -496,7 +495,7 @@ class XML_Tree(wxTreeCtrl):
else: else:
elem.setAttribute('name', xxx.name) elem.setAttribute('name', xxx.name)
memFile.close() # write to wxMemoryFS memFile.close() # write to wxMemoryFS
res = wxXmlResource('') res = wxXmlResource('', g.xmlFlags)
res.Load('memory:xxx.xrc') res.Load('memory:xxx.xrc')
if xxx.__class__ == xxxFrame: if xxx.__class__ == xxxFrame:
# Frame can't have many children, # Frame can't have many children,