Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change how unsupported XRC widget can have a comment to that effect #1554

Merged
merged 4 commits into from
Dec 24, 2024

Conversation

Randalphwa
Copy link
Collaborator

This PR makes it possible for generators that XRC doesn't support, to add a comment to the XRC file that will not change the visible UI.

Closes #1552

If the generator returns xrc_not_supported and also returns a GetWarning
message for GEN_LANG_XRC, then create an empty wxBoxSizer and add
the warning message. This makes it possible for the generator to add
a comment about the widget not being supported in XRC, but without
affecting the UI.
Currently, XRC doesn't support this, so this uses the new mechanism for
generating a warning.
@Randalphwa Randalphwa merged commit 41d4104 into main Dec 24, 2024
2 checks passed
@Randalphwa Randalphwa deleted the xrc_unavailable branch December 24, 2024 02:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a way to add XML comment about unsupported XRC control.
1 participant