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

Support wxWidgets 3.3 and dark theme in Windows #1743

Merged
merged 4 commits into from
Oct 23, 2024
Merged

Conversation

sirjuddington
Copy link
Owner

Added the option to download/build wx via cmake using FetchContent instead of using the system wx lib (windows-only currently), so we can build with wxWidgets 3.3.0 if needed.

With wx 3.3 we can now enable the 'experimental' dark theme support in Windows. Added an option to select the theme (or go with the system preference, which is the default) and made some tweaks to support the dark theme. There are a few minor issues but it works well enough for the most part.

This was done in the 3.3.0 branch, will need to be done for this too so we don't have any wx references in thirdparty (via #including Main.h)
Added the option to download/build wx via cmake using FetchContent instead of using the system wx lib (windows-only currently), so we can build with wxWidgets 3.3.0 if needed.

With wx 3.3 we can now enable the 'experimental' dark theme support in Windows. Added an option to select the theme (or go with the system preference, which is the default) and made some tweaks to support the dark theme. There are a few minor issues but it works well enough for the most part.
@sirjuddington sirjuddington merged commit 0521a01 into master Oct 23, 2024
6 of 7 checks passed
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.

1 participant