Bug #7212 2006-04-20 23:08

ptruog

FEATURE REQUEST: Add the ability to add an xrc

CB should be able to import an xrc file without requiring new cpp/h files. -- I have a project where I have create a couple of xrc files outside of wxSmith, and have imported them into an existing project. For whatever reason, the dialogs disappear from the project upon system reboot or whatever.. it would be nice to be able to simply readd the xrc file and attach that file to existing cpp/h files w/o replacing those files all together. -- and of course reuse the existing xrc file, but update it through changes made.

Category
Plugin::wxSmith
Group
 
Status
Closed
Close date
2006-05-07 16:20
Assigned to
 
thomasdenk 2006-04-22 16:36

Not only is this not a bug report, but I also fail to understand what the actual problem is.

Code::Blocks certainly allows you to add an XRC file (or anything else) to a project without replacing any .cpp/.h files, we do that all the time in Code::Blocks' own project.

More than half of the dialogs in Code::Blocks were made in a simple text editor and added to the project afterwards, or edited in a text editor while being part of the project.

If you have the wxSmith plugin and its MIME-handler activated, Code::Blocks will open XRC files inside wxSmith, since that is what users will usually want. That does not mean, however, that you can't do otherwise - just disable the MIME-handler.