changeset 2144:e7a68eea2fa0

Win: Fix missing menubar on Vista through 8.1 with full dark mode enabled.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 17 Jul 2020 01:30:13 +0000
parents 628ffe85b946
children 821f7d3a2e90
files win/dw.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Fri Jul 17 00:16:36 2020 +0000
+++ b/win/dw.c	Fri Jul 17 01:30:13 2020 +0000
@@ -6271,9 +6271,8 @@
    if(_DW_DARK_MODE_ALLOWED > DW_DARK_MODE_BASIC && _DW_DARK_MODE_SUPPORTED)
       tmp = (HMENUI)CreatePopupMenu();
    else
-#else
+#endif
    tmp = (HMENUI)CreateMenu();
-#endif
 
    mi.cbSize = sizeof(MENUINFO);
    mi.fMask = MIM_MENUDATA;