Author Topic: Help with wxSmith  (Read 4094 times)

Offline gReaen

  • Multiple posting newcomer
  • *
  • Posts: 18
Help with wxSmith
« 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....
« Last Edit: June 01, 2008, 01:09:36 pm by gReaen »

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 836
Re: Help with wxSmith
« Reply #1 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

Offline gReaen

  • Multiple posting newcomer
  • *
  • Posts: 18
Re: Help with wxSmith
« Reply #2 on: June 03, 2008, 02:14:37 am »
Hey,
Thanks. It got the changes in dialogs working.