wxPython_mailinglist@jensdiemer.de wrote:
I surprised why my Frame was not loaded. Until I discovered, the XML file does not exist.
Unfortunately i does not get an error message at wx.xrc.XmlResource()! All seems ok...
The only way to find out, that the XML file was not load correctly, is to check the Version with .GetVersion()!
If .GetVersion() == -1 the XML-File loading failed.
Why doesn't raised a Traceback at wx.xrc.XmlResource() ???
XmlResource is designed to be empty or to have one or more files and/or URLs loaded into its virtual filesystem, perhaps loaded from a wildcard, etc... So it is probably assuming that what you give it is valid in order to provide all that flexibility.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!