aboutsummaryrefslogtreecommitdiff
path: root/src/dutil/thmutil.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-07-31 17:01:24 -0600
committerSean Hall <r.sean.hall@gmail.com>2020-08-09 10:27:40 -0600
commit8a2fa05b14244f179d9bb127c6cb23c72d3bf2ae (patch)
tree3b213e08e9ff02f8fa7cfbb3f8a4ae5572ec9680 /src/dutil/thmutil.cpp
parentebdba51558d35a295df4b36a1f55f57d86d44cf3 (diff)
downloadwix-8a2fa05b14244f179d9bb127c6cb23c72d3bf2ae.tar.gz
wix-8a2fa05b14244f179d9bb127c6cb23c72d3bf2ae.tar.bz2
wix-8a2fa05b14244f179d9bb127c6cb23c72d3bf2ae.zip
Update dpiutil.h so users don't have to include ShellScalingApi.h.
Diffstat (limited to 'src/dutil/thmutil.cpp')
-rw-r--r--src/dutil/thmutil.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dutil/thmutil.cpp b/src/dutil/thmutil.cpp
index 3cdc09e3..6c9c5cd6 100644
--- a/src/dutil/thmutil.cpp
+++ b/src/dutil/thmutil.cpp
@@ -660,6 +660,7 @@ DAPI_(HRESULT) ThemeCreateParentWindow(
660 } 660 }
661 else 661 else
662 { 662 {
663 hr = S_OK;
663 x = CW_USEDEFAULT; 664 x = CW_USEDEFAULT;
664 y = CW_USEDEFAULT; 665 y = CW_USEDEFAULT;
665 } 666 }
@@ -4683,6 +4684,8 @@ static HRESULT ShowControl(
4683 ++iPageControl; 4684 ++iPageControl;
4684 } 4685 }
4685 4686
4687 hr = S_OK;
4688
4686 Button_SetCheck(hWnd, (!sczText && !pControl->sczValue) || CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczText, -1, pControl->sczValue, -1)); 4689 Button_SetCheck(hWnd, (!sczText && !pControl->sczValue) || CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, 0, sczText, -1, pControl->sczValue, -1));
4687 } 4690 }
4688 } 4691 }