KeyWorksRW / wxUiEditor

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

Change code-generation for Context Help in wxStdDialogButtonSizer #1343

Closed Randalphwa closed 8 months ago

Randalphwa commented 8 months ago

This PR changes code generation for the Context Help button in a wxStdDialogButtonSizer to use a wxContextHelpButton instead of a wxButton (which was previously missing a label). This button is smaller than the other buttons since it uses a bitmap instead of text, and clicking on it will automatically place the dialog in context-help mode. This works for C++, wxPython and wxRuby3.

XRC does not support wxContextHelpButton, so the code generator will fall back to using a wxButton with "?" created for the label in the XRC file.

Closes #1335