wxWidgets/include
Vadim Zeitlin 9a9c845289 Add wxSystemAppearance to check for dark mode under macOS
Provide a way to retrieve the name of the current system appearance
(mostly for diagnostic purposes) and check if it uses predominantly dark
colours.

Currently this class has a non-trivial (but still very simple)
implementation under macOS only and simply checks whether the default
text colour is brighter than the default background colour under the
other platforms, but other platform-specific implementations could be
added later.

Also update the drawing sample "system colours" page to show the system
appearance as well.
2019-04-21 02:11:07 +02:00
..
msvc/wx Detect MSVS 2019 in msvc/wx/setup.h correctly 2019-03-05 23:28:20 +01:00
wx Add wxSystemAppearance to check for dark mode under macOS 2019-04-21 02:11:07 +02:00