Hello!

I found out how to do it, even wxImage was a bit tricky (wxInputStream is  
not an overloaded ctor, but a parameter to LoadFile() :)). So, it works  
well now, but I can't use my xrc file. It's in the zip, and the main  
window works (wxFrame), but the other windows not (the xrc file contains  
other 5-6 dialog). When the program reaches the line like this:

if xmlResource:LoadDialog(m_about,wx.NULL,"ID_DLG_ABOUT") then

It fails, and I got a messagebox with: 'Unhandled exception'. If I remove  
the wx.wxFileSystem().AddHandler(wx.wxArchiveFSHandler) and I load the  
dialog from a simple xrc file, it works as it should. Any idea, how can I  
fix this? I don't want to separate the xrc files for every dialog...
Thanks: Attila

------------------------------------------------------------------------------
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to