Using XRC is great, we may design dialog layouts in a WYSIWYG editor.
Now, loading the layout is currently only supported from real files. This is a huge limitation.
Think of receiving a layout from a network connection. Currently you'll have to store it in a temp file, load the design
with XmlResource, delete the temp file.
This is overkill since WxWidgets has an in-house virtual file system.
The patch I propose adds the ability to wxRuby to manage those 'memory' files.
I chose to add some global functions that delegates to the real wxMemoryFSHandler static methods. This is to avoid from
having to swig the entire wxMemoryFSHandler class (and its parents).
Please review the patch and let me know if anything should be changed.
BTW, may this patch be applied (if approved) before the next public release (2.0.1?), Thanx.
Regards,
Pascal |