mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 12:28:13 +00:00
comctl32/tests: Store old DPI awareness context.
This commit is contained in:
parent
902884e6db
commit
fad15dae93
|
@ -908,7 +908,7 @@ static void test_themed_background(void)
|
|||
pSetThreadDpiAwarenessContext = (void *)GetProcAddress(GetModuleHandleA("user32.dll"),
|
||||
"SetThreadDpiAwarenessContext");
|
||||
if (pSetThreadDpiAwarenessContext)
|
||||
pSetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE);
|
||||
old_context = pSetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE);
|
||||
|
||||
memset(&cls, 0, sizeof(cls));
|
||||
cls.hInstance = GetModuleHandleA(0);
|
||||
|
|
Loading…
Reference in a new issue