Start adding dark mode support to wxMSW
Add experimental wxApp::MSWEnableDarkMode(). For now this is very incomplete and just uses the basic API for setting the preferred application mode, which only works for the standard dialogs and popup menus, but it's a start. Support of dark mode is also limited to Windows 10 20H1 and later, but this should, hopefully, be not a problem in practice as few people should be using pre-2020 Windows 10 versions by now.
This commit is contained in:
parent
6e940d1a10
commit
bcea384923
11 changed files with 236 additions and 0 deletions
|
|
@ -1847,6 +1847,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
|||
src/msw/timectrl.cpp
|
||||
src/msw/datecontrols.cpp
|
||||
src/generic/activityindicator.cpp
|
||||
src/msw/darkmode.cpp
|
||||
</set>
|
||||
<set var="MSW_HDR" hints="files">
|
||||
wx/generic/clrpickerg.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue