KeyWorksRW / wxUiEditor

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

Output default style when it makes the code more understandable #375

Open KeyWorksRW opened 3 years ago

KeyWorksRW commented 3 years ago

Description:

Not generating default styles makes the code line shorter, however it assumes the reader knows what the default style is. Unless the default style is common or obvious, it should be generated even if it does make the code line longer.

KeyWorksRW commented 1 year ago

This should be part of the 1.1 release since changing this will change the diff for any existing projects that are under source management control (e.g., git). Note that the code generation for python, lua and php require the default style, so it makes sense to change the C++ code generation at the same time that the new language code gets created.

KeyWorksRW commented 1 year ago

wxPython doesn't require the default style, and wxLua and wxPHP code generation was dropped. This can wait until 1.1.x.