KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
63 stars 7 forks source link

Remove generate_translation_unit property #1351

Closed KeyWorksRW closed 8 months ago

KeyWorksRW commented 8 months ago

Description:

The generate_translation_unit property is proving to be a significant problem in code generation. Essentially all of the C++ code generation is designed for creating source and header files. Unchecking this property means that all the source code has to be written to the header file instead, and that requires a lot of exceptions throughout the code base. While it does work currently, it's quite problematic when adding or updating code generation. I'm worried about long term code maintenance with all these exceptions. Much as I hate to break something that use to (mostly) work, I think this should be removed now before there are a large number of users, a few of whom could potentially be using this.

Note that this only affects C++ code generation -- neither wxPython or wxRuby used this since they don't have header files.