diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-11-08 15:24:46 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-11-10 17:33:25 -0600 |
commit | 9d3af7547bb790d39157dd36dfa862a1abf47beb (patch) | |
tree | 410e6e46daf244dd4e087c658b827fea6231119a /src/samples | |
parent | b49ab4e082127e450b266c25218905c94495892e (diff) | |
download | wix-9d3af7547bb790d39157dd36dfa862a1abf47beb.tar.gz wix-9d3af7547bb790d39157dd36dfa862a1abf47beb.tar.bz2 wix-9d3af7547bb790d39157dd36dfa862a1abf47beb.zip |
Go back to thmutil not interfering with wixstdba controls.
Diffstat (limited to 'src/samples')
-rw-r--r-- | src/samples/thmviewer/display.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/samples/thmviewer/display.cpp b/src/samples/thmviewer/display.cpp index f40b50b5..444c6cfb 100644 --- a/src/samples/thmviewer/display.cpp +++ b/src/samples/thmviewer/display.cpp | |||
@@ -327,9 +327,10 @@ static BOOL DisplayOnThmLoadedControl( | |||
327 | } | 327 | } |
328 | else if (THEME_CONTROL_TYPE_PROGRESSBAR == pControl->type) | 328 | else if (THEME_CONTROL_TYPE_PROGRESSBAR == pControl->type) |
329 | { | 329 | { |
330 | DWORD dwId = ::SetTimer(pTheme->hwndParent, reinterpret_cast<UINT_PTR>(pControl), 500, NULL); | 330 | UINT_PTR timerId = reinterpret_cast<UINT_PTR>(pControl); |
331 | dwId = dwId; // prevents warning in "ship" build. | 331 | UINT_PTR id = ::SetTimer(pTheme->hwndParent, timerId, 500, NULL); |
332 | Assert(dwId == pControl->wId); | 332 | id = id; // prevents warning in "ship" build. |
333 | Assert(id == timerId); | ||
333 | } | 334 | } |
334 | 335 | ||
335 | LExit: | 336 | LExit: |