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.
This PR changes code generation for the Context Help button in a
wxStdDialogButtonSizer
to use awxContextHelpButton
instead of awxButton
(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 awxButton
with "?" created for the label in the XRC file.Closes #1335