~codeblocks-devs/codeblocks/trunk

Viewing all changes in revision 10388.

  • Committer: fuscated
  • Date: 2021-05-03 12:02:13 UTC
  • Revision ID: svn-v4:2a5c6006-c6dd-42ca-98ab-0921f2732cef:trunk:12316
* wxSmith: Renaming of wxSmith-related files corrupts the project (ticket #1088, thanks Miguel Gimenez)

> While renaming of files works OK, there is an undesired side effect when
  renaming a file used by wxSmith. Each wxSmith "widget" uses a triad of
  three files: wxs, cpp and h. If you rename any of them then wxSmith stops
  working for that widget because wxSmith is not aware of the change.
> The solution is to generate a file-has-been-renamed event and making
  wxSmith listen to this kind of messages, so it can check if the renamed
  file belongs to any widget.
> This commit adds the cbEVT_PROJECT_FILE_RENAMED event.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: