KeyWorksRW / wxUiEditor

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

Refactor outer function for Python/Ruby code generation #1390

Closed Randalphwa closed 8 months ago

Randalphwa commented 8 months ago

This PR does two things. First, it removes the try/catch block from Python and Ruby code generation. Since nothing in the code generation will explicitly throw an exception, this is unnecessary overhead. Second, this creates a function that processes a single form. The will open up a future option to generate the code for an individual form, rather than all forms at once.