Compile dark mode support for wxUniv/MSW too

Dark mode support for native controls is not needed in this port, but we
still need DWM-related stuff to make the window title bar use the dark
mode if necessary, so just include all this code in wxUniv.
This commit is contained in:
Vadim Zeitlin 2023-04-22 15:46:21 +02:00
parent b4a29beecd
commit 0b5252d12f
6 changed files with 87 additions and 59 deletions

View file

@ -1589,6 +1589,7 @@ MSW_LOWLEVEL_SRC =
src/msw/clipbrd.cpp
src/msw/colour.cpp
src/msw/cursor.cpp
src/msw/darkmode.cpp
src/msw/data.cpp
src/msw/dc.cpp
src/msw/dcclient.cpp
@ -1685,7 +1686,6 @@ MSW_SRC =
src/msw/commandlinkbutton.cpp
src/msw/control.cpp
src/msw/customdraw.cpp
src/msw/darkmode.cpp
src/msw/datecontrols.cpp
src/msw/datectrl.cpp
src/msw/datetimectrl.cpp