diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-10-27 15:29:47 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-11-01 16:34:09 -0500 |
commit | 3d73efba15565f5995a492e660dff72286e0b672 (patch) | |
tree | fc2364f88aed27d0bdf633f837c5b9ac29511760 /src/test | |
parent | dce1c97c7d3e76c18e4f80d4ffe288d2933a74bc (diff) | |
download | wix-3d73efba15565f5995a492e660dff72286e0b672.tar.gz wix-3d73efba15565f5995a492e660dff72286e0b672.tar.bz2 wix-3d73efba15565f5995a492e660dff72286e0b672.zip |
Remove dutil types from BAFunctions.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp b/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp index 8304403a..e5ff9131 100644 --- a/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp +++ b/src/test/burn/TestData/Manual/BafThmutilTesting/BafThmUtilTesting.cpp | |||
@@ -100,7 +100,7 @@ private: | |||
100 | hr = CreateTestingWindow(); | 100 | hr = CreateTestingWindow(); |
101 | BalExitOnFailure(hr, "Failed to create BafThmUtilTesting window."); | 101 | BalExitOnFailure(hr, "Failed to create BafThmUtilTesting window."); |
102 | 102 | ||
103 | ::EnableWindow(m_pTheme->hwndParent, FALSE); | 103 | ::EnableWindow(m_hwndParent, FALSE); |
104 | 104 | ||
105 | // message pump | 105 | // message pump |
106 | while (0 != (fRet = ::GetMessageW(&msg, NULL, 0, 0))) | 106 | while (0 != (fRet = ::GetMessageW(&msg, NULL, 0, 0))) |
@@ -118,7 +118,7 @@ private: | |||
118 | } | 118 | } |
119 | 119 | ||
120 | LExit: | 120 | LExit: |
121 | ::EnableWindow(m_pTheme->hwndParent, TRUE); | 121 | ::EnableWindow(m_hwndParent, TRUE); |
122 | 122 | ||
123 | DestroyTestingWindow(); | 123 | DestroyTestingWindow(); |
124 | 124 | ||
@@ -130,7 +130,7 @@ private: | |||
130 | HRESULT CreateTestingWindow() | 130 | HRESULT CreateTestingWindow() |
131 | { | 131 | { |
132 | HRESULT hr = S_OK; | 132 | HRESULT hr = S_OK; |
133 | HICON hIcon = reinterpret_cast<HICON>(m_pTheme->hIcon); | 133 | HICON hIcon = reinterpret_cast<HICON>(m_pBafTheme->hIcon); |
134 | WNDCLASSW wc = { }; | 134 | WNDCLASSW wc = { }; |
135 | int x = CW_USEDEFAULT; | 135 | int x = CW_USEDEFAULT; |
136 | int y = CW_USEDEFAULT; | 136 | int y = CW_USEDEFAULT; |
@@ -151,7 +151,7 @@ private: | |||
151 | wc.hInstance = m_hModule; | 151 | wc.hInstance = m_hModule; |
152 | wc.hIcon = hIcon; | 152 | wc.hIcon = hIcon; |
153 | wc.hCursor = ::LoadCursorW(NULL, (LPCWSTR)IDC_ARROW); | 153 | wc.hCursor = ::LoadCursorW(NULL, (LPCWSTR)IDC_ARROW); |
154 | wc.hbrBackground = m_pTheme->rgFonts[m_pBafTheme->dwFontId].hBackground; | 154 | wc.hbrBackground = m_pBafTheme->rgFonts[m_pBafTheme->dwFontId].hBackground; |
155 | wc.lpszMenuName = NULL; | 155 | wc.lpszMenuName = NULL; |
156 | wc.lpszClassName = BAFTHMUTILTESTING_WINDOW_CLASS; | 156 | wc.lpszClassName = BAFTHMUTILTESTING_WINDOW_CLASS; |
157 | if (!::RegisterClassW(&wc)) | 157 | if (!::RegisterClassW(&wc)) |
@@ -168,7 +168,7 @@ private: | |||
168 | y = ptCursor.y; | 168 | y = ptCursor.y; |
169 | } | 169 | } |
170 | 170 | ||
171 | hr = ThemeCreateParentWindow(m_pBafTheme, 0, wc.lpszClassName, m_pBafTheme->sczCaption, m_pBafTheme->dwStyle, x, y, m_pTheme->hwndParent, m_hModule, this, THEME_WINDOW_INITIAL_POSITION_CENTER_MONITOR_FROM_COORDINATES, &m_hWndBaf); | 171 | hr = ThemeCreateParentWindow(m_pBafTheme, 0, wc.lpszClassName, m_pBafTheme->sczCaption, m_pBafTheme->dwStyle, x, y, m_hwndParent, m_hModule, this, THEME_WINDOW_INITIAL_POSITION_CENTER_MONITOR_FROM_COORDINATES, &m_hWndBaf); |
172 | ExitOnFailure(hr, "Failed to create window."); | 172 | ExitOnFailure(hr, "Failed to create window."); |
173 | 173 | ||
174 | hr = S_OK; | 174 | hr = S_OK; |
@@ -216,7 +216,7 @@ private: | |||
216 | case WM_CLOSE: | 216 | case WM_CLOSE: |
217 | if (pBaf) | 217 | if (pBaf) |
218 | { | 218 | { |
219 | ::EnableWindow(pBaf->m_pTheme->hwndParent, TRUE); | 219 | ::EnableWindow(pBaf->m_hwndParent, TRUE); |
220 | } | 220 | } |
221 | 221 | ||
222 | break; | 222 | break; |