Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Allow GUI to compile with wxWidgets built with STL #2527

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

super7ramp
Copy link

wxMenuItemList - a wxList of wxMenuItems - should be iterated using the wxMenuItemList::compatibility_iterator so that it can be compiled with wxWidgets built with STL.

This commit does not make GUI require wxWidgets > 2.8 nor wxWidgets compiled with STL but makes the code compatible with more recent versions of wxWidgets compiled with STL.

See also the wxWidgets wiki about this topic.

wxMenuItemList - a wxList of wxMenuItems - should be iterated using the
wxMenuItemList::compatibility_iterator so that it can be compiled with wxWidgets
built with STL.

This commit does not make GUI require wxWidgets > 2.8 nor wxWidgets compiled
with STL but makes the code compatible with more recent versions of wxWidgets
compiled with STL.

See also:
https://wiki.wxwidgets.org/Updating_to_the_Latest_Version_of_wxWidgets#wxUSE_STL.
@welcome
Copy link

welcome bot commented Aug 15, 2022

Thanks for opening this pull request! Please check out our contributing guidelines and please examine any build issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant