Code::Blocks Forums

User forums => Help => Topic started by: gReaen on June 01, 2008, 01:06:21 pm

Title: Help with wxSmith
Post by: gReaen on June 01, 2008, 01:06:21 pm
Hello,
I use C::B 4893 nightly build with MinGW and wxWidgets 2.8.7 on Windows XP SP2.
I used to have a single folder for my project which contained .cpp and .h files. The wxSmith folder was also in the same folder (C:\Projects\Sample\wxSmith)
Now i have moved the .cpp files to a folder called 'source' and .h to 'include', wxSmith to folder 'Main' which also contains the .cbp file. All these folders are in the project (C:\Projects\Sample\) folder only. Now whenever i change a .wxs file using the wxSmith in C::B, the changes are not reflected to the .cpp and .h files.
Is there any settings to be configured for the wxSmith to locate its source files? How can i enable the changes to be reflected?
Appreciate any response....
Title: Re: Help with wxSmith
Post by: byo on June 01, 2008, 11:09:08 pm
You will have to manually edit the .cbp file in any text editor. You can find <wxsmith> section there where each resource has .h and .cpp files assigned - just add proper "source/" or "include/" prefix to filenames and it should work.

Regards
   BYO
Title: Re: Help with wxSmith
Post by: gReaen on June 03, 2008, 02:14:37 am
Hey,
Thanks. It got the changes in dialogs working.