Skip to content

Support wxWidgets 3.3 and dark theme in Windows#1743

Merged
sirjuddington merged 4 commits intomasterfrom
wx33_darkmode
Oct 23, 2024
Merged

Support wxWidgets 3.3 and dark theme in Windows#1743
sirjuddington merged 4 commits intomasterfrom
wx33_darkmode

Conversation

@sirjuddington
Copy link
Copy Markdown
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
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