Bug #7976 2006-06-23 16:02
vesselin_peev
XRC and WXS files often not in sync
Regarding the latest nightly builds (not only the latest one):
In a wxSmith project, the logic for keeping wxWidgets' XRC output files with the WXS input files (those that are actually XRC files, but are in a separate directory handled by wxSmith) is flawed, even with a full project rebuild. I often need to copy and rename the WXS files from the "wxsmith" project subdirectory to their XRC equivalents. I will try to automate the process via some other means, but this is certainly a serious issue.
- Category
- Plugin::wxSmith
- Group
- Status
- Closed
- Close date
- 2006-06-28 16:24
- Assigned to
- byo
History
Cuold you give some example when xrc file is not synced with wxs? XRC file is regenerated when anything in resource changes when regeneratinc source code for classes. Are classes also out of date? Have you used XRC Import option?
You can verify the problem very quickly: follow http://wiki.codeblocks.org/index.php?title=WxSmith_Tutorial_%26_Pointers up to "Using the created panel", except that to start with a ready wxSmith project, I have used the "wxSmith Project Wizard" instead the "wxWidgets Application" wizard (I know the latter was the only option in Codeblocks RC2), and deleted any widget on the main frame prior to following the rest of the tutorial. And there is no need to create the button (from the tutorial), just the label. Prior to adding the panel, there seems to be no problem with syncing in this sample project.
When I wrote 'up to "Using the created panel"', I meant "up to and including".
This bug is now fixed in HEAD.
Thank you for reporting it.
Please also see http://forums.codeblocks.org/index.php?topic=3434.msg27052#msg27052 for more details