uxtheme: Fix incorrect part IDs in button class map.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51506
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit ec82a0ebe6)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-07-26 10:25:30 +08:00 committed by Michael Stefaniuc
parent c55a6b6407
commit 72a7c1991c
1 changed files with 14 additions and 14 deletions

View File

@ -358,21 +358,21 @@ static const MSSTYLES_CLASS_MAP classButton[] = {
{BP_RADIOBUTTON, RBS_CHECKEDPRESSED, L"CHECKEDPRESSED"},
{BP_RADIOBUTTON, RBS_CHECKEDDISABLED, L"CHECKEDDISABLED"},
{BP_CHECKBOX, 0, L"CHECKBOX"},
{BP_RADIOBUTTON, CBS_UNCHECKEDNORMAL, L"UNCHECKEDNORMAL"},
{BP_RADIOBUTTON, CBS_UNCHECKEDHOT, L"UNCHECKEDHOT"},
{BP_RADIOBUTTON, CBS_UNCHECKEDPRESSED, L"UNCHECKEDPRESSED"},
{BP_RADIOBUTTON, CBS_UNCHECKEDDISABLED, L"UNCHECKEDDISABLED"},
{BP_RADIOBUTTON, CBS_CHECKEDNORMAL, L"CHECKEDNORMAL"},
{BP_RADIOBUTTON, CBS_CHECKEDHOT, L"CHECKEDHOT"},
{BP_RADIOBUTTON, CBS_CHECKEDPRESSED, L"CHECKEDPRESSED"},
{BP_RADIOBUTTON, CBS_CHECKEDDISABLED, L"CHECKEDDISABLED"},
{BP_RADIOBUTTON, CBS_MIXEDNORMAL, L"MIXEDNORMAL"},
{BP_RADIOBUTTON, CBS_MIXEDHOT, L"MIXEDHOT"},
{BP_RADIOBUTTON, CBS_MIXEDPRESSED, L"MIXEDPRESSED"},
{BP_RADIOBUTTON, CBS_MIXEDDISABLED, L"MIXEDDISABLED"},
{BP_CHECKBOX, CBS_UNCHECKEDNORMAL, L"UNCHECKEDNORMAL"},
{BP_CHECKBOX, CBS_UNCHECKEDHOT, L"UNCHECKEDHOT"},
{BP_CHECKBOX, CBS_UNCHECKEDPRESSED, L"UNCHECKEDPRESSED"},
{BP_CHECKBOX, CBS_UNCHECKEDDISABLED, L"UNCHECKEDDISABLED"},
{BP_CHECKBOX, CBS_CHECKEDNORMAL, L"CHECKEDNORMAL"},
{BP_CHECKBOX, CBS_CHECKEDHOT, L"CHECKEDHOT"},
{BP_CHECKBOX, CBS_CHECKEDPRESSED, L"CHECKEDPRESSED"},
{BP_CHECKBOX, CBS_CHECKEDDISABLED, L"CHECKEDDISABLED"},
{BP_CHECKBOX, CBS_MIXEDNORMAL, L"MIXEDNORMAL"},
{BP_CHECKBOX, CBS_MIXEDHOT, L"MIXEDHOT"},
{BP_CHECKBOX, CBS_MIXEDPRESSED, L"MIXEDPRESSED"},
{BP_CHECKBOX, CBS_MIXEDDISABLED, L"MIXEDDISABLED"},
{BP_GROUPBOX, 0, L"GROUPBOX"},
{BP_RADIOBUTTON, GBS_NORMAL, L"NORMAL"},
{BP_RADIOBUTTON, GBS_DISABLED, L"DISABLED"},
{BP_GROUPBOX, GBS_NORMAL, L"NORMAL"},
{BP_GROUPBOX, GBS_DISABLED, L"DISABLED"},
{BP_USERBUTTON, 0, L"USERBUTTON"},
{0, 0, L""}
};