DXGL r833 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r832‎ | r833 | r834 >
Date:15:59, 13 July 2018
Author:admin
Status:new
Tags:
Comment:
Fix an issue identified by the WindowBlinds developers in theme support.
Modified paths:
  • /dxglcfg/dxglcfg.cpp (modified) (history)

Diff [purge]

Index: dxglcfg/dxglcfg.cpp
@@ -1537,8 +1537,9 @@
15381538 if (uxtheme)
15391539 {
15401540 if (hThemeDisplay) _CloseThemeData(hThemeDisplay);
1541 - _OpenThemeData(hWnd, L"Button");
 1541+ hThemeDisplay = _OpenThemeData(hWnd, L"Button");
15421542 }
 1543+ break;
15431544 case WM_COMMAND:
15441545 {
15451546 switch (LOWORD(wParam))