wxwidgets/samples/stc
Vadim Zeitlin 53935f6607 Improve stc sample appearance in dark mode
This shows one possible way of adapting the application to support dark
mode, using the default for/background colours and SelectLightDark() for
the custom ones.

Note that this replaces "background" field of the styles in this sample
as it was never used (more precisely, was always specified as "WHITE")
with the new "foregroundDark" field which is set pretty arbitrarily but
differently enough from the foreground used in light mode for the sample
to look better in dark mode.

Also remove some duplicated code for setting styles and remove the code
for setting the defaults completely, as this is unnecessary, and even
harmful, after the changes of the previous commit.
2022-12-28 23:53:06 +00:00
..
defsext.h Allow setting and clearing indicators in the STC sample 2022-08-15 17:38:51 +01:00
descrip.mms configure stc support for OpenVMS 2009-10-05 14:50:45 +00:00
edit.cpp Improve stc sample appearance in dark mode 2022-12-28 23:53:06 +00:00
edit.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
makefile.gcc Remove UNICODE build option, hardcode its value as 1 2022-10-27 19:43:59 +02:00
Makefile.in Remove UNICODE build option, hardcode its value as 1 2022-10-27 19:43:59 +02:00
makefile.unx Remove wxGTK1 port and GPE support 2022-10-16 22:01:02 +02:00
makefile.vc Remove UNICODE build option, hardcode its value as 1 2022-10-27 19:43:59 +02:00
prefs.cpp Improve stc sample appearance in dark mode 2022-12-28 23:53:06 +00:00
prefs.h Improve stc sample appearance in dark mode 2022-12-28 23:53:06 +00:00
stctest.bkl Fix linking stc sample when using monolithic static library 2020-10-16 02:36:46 +02:00
stctest.cpp Improve stc sample appearance in dark mode 2022-12-28 23:53:06 +00:00