What's the status on the xrc import functionality? I built a xrc file using wxSmith, but the underlying code didn't match my dialog and the dialog was listed in "External Resources". Then I removed it from my project and gave import xrc a shot but the imported dialog is blank. Anyway I could add the xrc and write the underlying code to load it up, but the automation of wxSmith has spoiled me
The above in a few words:
I built an xrc file using wxSmith
I tried to import it
I ended up with an empty dialog
BTW (I don't remember if I've mentioned it before) wxSmith is a GREAT piece of work! I designed the dialog by hand and built it in less than half an hour :shock:
Ok, I guess You're using latest svn snapshoot (in RC2 there's no ability to open xrc files).
I haven't tested this option much (I mean editing external xrc files) - Could You reporoduce and send me content of this xrc ?
Maybe some explanation here:
wxSmith uses it's own format for resource files. In fact it's modified version of xrc but with additional data. Resources managed by wxSmith are in *.wxs files (in wxsmith directory created inside project). There resources can be used to generate source code which build resource or create xrc file for it and class using this xrc file.
And When You say that You've got empty window after importing it seems to be a bug :oops:.
Currently the best way to use resources is to create them but after adding using wxSmith->Add ... enteries
. (Currently I doin't have enough time to work on wxSmithi but I hope that it will change soon)