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

Replace some calls to wxMessageBox with wxMessageDialog #1372

Merged
merged 3 commits into from
Jan 7, 2024

Conversation

Randalphwa
Copy link
Collaborator

This PR creates a new dlg_msgs src/hdr module which supplies functions for calling wxMessageDialog. These are used to replace some of the calls to wxMessageBox when a full file path needs to be displayed. This can be truncated in wxMessageBox, hence the switch to wxMessageDialog.

The rest of the changes are straightforward replacements of wxMessageBox with wxMessageDialog.

This is for those times when returning std::string is needed instead of returning
tt_string.
These get used in multiple places, so easiest to have a common module
for them.
Filenames can be truncated in wxMessageBox, so this switches some of the
importer and code generation messages to use wxMessageDialog instead.
@Randalphwa Randalphwa merged commit 01be9c7 into main Jan 7, 2024
@Randalphwa Randalphwa deleted the wxMessageBox branch January 7, 2024 21:32
# 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.

1 participant