https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a0235bf8774d41ad36981…
commit a0235bf8774d41ad369815d70c6c9c5fbaaf7d11
Author: Robert Naumann <gonzomdx(a)gmail.com>
AuthorDate: Sat Jul 31 22:14:38 2021 +0200
Commit: Robert Naumann <gonzomdx(a)gmail.com>
CommitDate: Sun Aug 1 12:22:58 2021 +0200
[UXTHEME] Fix incorrect part IDs in button class map.
Wine Patch by Zhiyi Zhang. (Commit ec82a0ebe65a0bd9f41c743d301c853e77dd8b8b)
---
dll/win32/uxtheme/stylemap.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/dll/win32/uxtheme/stylemap.c b/dll/win32/uxtheme/stylemap.c
index 1359e7200e9..3e6a0a9f0d9 100644
--- a/dll/win32/uxtheme/stylemap.c
+++ b/dll/win32/uxtheme/stylemap.c
@@ -351,21 +351,21 @@ static const MSSTYLES_CLASS_MAP classButton[] = {
{BP_RADIOBUTTON,RBS_CHECKEDPRESSED,{'C','H','E','C','K','E','D','P','R','E','S','S','E','D','\0'}},
{BP_RADIOBUTTON,RBS_CHECKEDDISABLED,{'C','H','E','C','K','E','D','D','I','S','A','B','L','E','D','\0'}},
{BP_CHECKBOX,0,{'C','H','E','C','K','B','O','X','\0'}},
-
{BP_RADIOBUTTON,CBS_UNCHECKEDNORMAL,{'U','N','C','H','E','C','K','E','D','N','O','R','M','A','L','\0'}},
-
{BP_RADIOBUTTON,CBS_UNCHECKEDHOT,{'U','N','C','H','E','C','K','E','D','H','O','T','\0'}},
-
{BP_RADIOBUTTON,CBS_UNCHECKEDPRESSED,{'U','N','C','H','E','C','K','E','D','P','R','E','S','S','E','D','\0'}},
-
{BP_RADIOBUTTON,CBS_UNCHECKEDDISABLED,{'U','N','C','H','E','C','K','E','D','D','I','S','A','B','L','E','D','\0'}},
-
{BP_RADIOBUTTON,CBS_CHECKEDNORMAL,{'C','H','E','C','K','E','D','N','O','R','M','A','L','\0'}},
-
{BP_RADIOBUTTON,CBS_CHECKEDHOT,{'C','H','E','C','K','E','D','H','O','T','\0'}},
-
{BP_RADIOBUTTON,CBS_CHECKEDPRESSED,{'C','H','E','C','K','E','D','P','R','E','S','S','E','D','\0'}},
-
{BP_RADIOBUTTON,CBS_CHECKEDDISABLED,{'C','H','E','C','K','E','D','D','I','S','A','B','L','E','D','\0'}},
-
{BP_RADIOBUTTON,CBS_MIXEDNORMAL,{'M','I','X','E','D','N','O','R','M','A','L','\0'}},
-
{BP_RADIOBUTTON,CBS_MIXEDHOT,{'M','I','X','E','D','H','O','T','\0'}},
-
{BP_RADIOBUTTON,CBS_MIXEDPRESSED,{'M','I','X','E','D','P','R','E','S','S','E','D','\0'}},
-
{BP_RADIOBUTTON,CBS_MIXEDDISABLED,{'M','I','X','E','D','D','I','S','A','B','L','E','D','\0'}},
+
{BP_CHECKBOX,CBS_UNCHECKEDNORMAL,{'U','N','C','H','E','C','K','E','D','N','O','R','M','A','L','\0'}},
+
{BP_CHECKBOX,CBS_UNCHECKEDHOT,{'U','N','C','H','E','C','K','E','D','H','O','T','\0'}},
+
{BP_CHECKBOX,CBS_UNCHECKEDPRESSED,{'U','N','C','H','E','C','K','E','D','P','R','E','S','S','E','D','\0'}},
+
{BP_CHECKBOX,CBS_UNCHECKEDDISABLED,{'U','N','C','H','E','C','K','E','D','D','I','S','A','B','L','E','D','\0'}},
+
{BP_CHECKBOX,CBS_CHECKEDNORMAL,{'C','H','E','C','K','E','D','N','O','R','M','A','L','\0'}},
+
{BP_CHECKBOX,CBS_CHECKEDHOT,{'C','H','E','C','K','E','D','H','O','T','\0'}},
+
{BP_CHECKBOX,CBS_CHECKEDPRESSED,{'C','H','E','C','K','E','D','P','R','E','S','S','E','D','\0'}},
+
{BP_CHECKBOX,CBS_CHECKEDDISABLED,{'C','H','E','C','K','E','D','D','I','S','A','B','L','E','D','\0'}},
+
{BP_CHECKBOX,CBS_MIXEDNORMAL,{'M','I','X','E','D','N','O','R','M','A','L','\0'}},
+
{BP_CHECKBOX,CBS_MIXEDHOT,{'M','I','X','E','D','H','O','T','\0'}},
+
{BP_CHECKBOX,CBS_MIXEDPRESSED,{'M','I','X','E','D','P','R','E','S','S','E','D','\0'}},
+
{BP_CHECKBOX,CBS_MIXEDDISABLED,{'M','I','X','E','D','D','I','S','A','B','L','E','D','\0'}},
{BP_GROUPBOX,0,{'G','R','O','U','P','B','O','X','\0'}},
-
{BP_RADIOBUTTON,GBS_NORMAL,{'N','O','R','M','A','L','\0'}},
-
{BP_RADIOBUTTON,GBS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
+
{BP_GROUPBOX,GBS_NORMAL,{'N','O','R','M','A','L','\0'}},
+
{BP_GROUPBOX,GBS_DISABLED,{'D','I','S','A','B','L','E','D','\0'}},
{BP_USERBUTTON,0,{'U','S','E','R','B','U','T','T','O','N','\0'}},
{0,0,{'\0'}}
};