wxUiEditor
wxUiEditor copied to clipboard
Add option for Python/Ruby to create SetAffirmativeButton-type buttons?
Description:
In Python, we always set SetAffirmativeButton
, SetNegativeButton
and SetCancelButton
. In Ruby, we don't set this at all. C++ uses CreateStdDialogButtonSizer
, so these already have default values.
For Python and Ruby, should we have an option to create these buttons? The user could set them up themselves in a Dialog's OnInit event, so it's not required to set these. It's a bit odd that the Python code sets these without know whether the user actually wants them or not.
The tricky part of adding an option is that it's not going to be useful for C++...