changeset 336:c7f3c59a2792

Added code to enable full dark mode on Windows.
author Brian Smith <brian@dbsoft.org>
date Fri, 12 Jun 2020 16:28:22 -0500
parents 6d1200c437af
children 9f34b53e9be8
files dwib.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dwib.c	Mon Dec 02 03:12:42 2019 -0600
+++ b/dwib.c	Fri Jun 12 16:28:22 2020 -0500
@@ -7749,6 +7749,9 @@
 /* The main entry point.  Notice we don't use WinMain() on Windows */
 int main(int argc, char *argv[])
 {
+    /* Enable full dark mode on platforms that support it */
+    dw_feature_set(DW_FEATURE_DARK_MODE, 2);
+
     dw_init(TRUE, argc, argv);
     
     /* Recent file menu */