Zhiyi Zhang (@zhiyi) commented about programs/winecfg/theme.c:
/* UXTHEME functions not in the headers */
+static const WCHAR *subkey = L"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"; +static const WCHAR *name = L"AppsUseLightTheme"; +static const HKEY root = HKEY_CURRENT_USER;
+typedef struct +{
- DWORD value;
- const WCHAR *descr;
+} AppTheme;
+AppTheme app_themes[] = +{
- { 0, L"Dark" },
- { 1, L"Light" },
Let's put "Light" as the first item since it's the default. Remember to change the index calculation logic.