user32: Load uxtheme when theming is active.
commiteedad8a8eec0c0d817d463241c1d3fc4e7ecce86
authorZhiyi Zhang <zzhang@codeweavers.com>
Mon, 9 Aug 2021 07:00:19 +0000 (9 15:00 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 9 Aug 2021 09:40:14 +0000 (9 11:40 +0200)
tree2ec570e32da3292fd87279114d52a57f91176a6c
parentcbf7bdce2877645fa2c5c847f48f6a4ffcaeef03
user32: Load uxtheme when theming is active.

In comctl32 DllMain(), IsThemeActive() is a delay-loaded function and shouldn't be called in
DllMain(). Instead, tests showed that uxtheme should be loaded by user32.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51540
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/comctl32/commctrl.c
dlls/user32/class.c
dlls/user32/tests/class.c