summaryrefslogtreecommitdiff
path: root/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp')
-rw-r--r--src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp
index 5546b74f..cdb9d017 100644
--- a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp
+++ b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp
@@ -2783,7 +2783,6 @@ private:
2783 if (pBA->m_pfnBAFunctionsProc) 2783 if (pBA->m_pfnBAFunctionsProc)
2784 { 2784 {
2785 wndProcArgs.cbSize = sizeof(wndProcArgs); 2785 wndProcArgs.cbSize = sizeof(wndProcArgs);
2786 wndProcArgs.pTheme = pTheme;
2787 wndProcArgs.hWnd = hWnd; 2786 wndProcArgs.hWnd = hWnd;
2788 wndProcArgs.uMsg = uMsg; 2787 wndProcArgs.uMsg = uMsg;
2789 wndProcArgs.wParam = wParam; 2788 wndProcArgs.wParam = wParam;
@@ -2791,10 +2790,20 @@ private:
2791 wndProcResults.cbSize = sizeof(wndProcResults); 2790 wndProcResults.cbSize = sizeof(wndProcResults);
2792 2791
2793 hr = pBA->m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_WNDPROC, &wndProcArgs, &wndProcResults, pBA->m_pvBAFunctionsProcContext); 2792 hr = pBA->m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_WNDPROC, &wndProcArgs, &wndProcResults, pBA->m_pvBAFunctionsProcContext);
2794 if (E_NOTIMPL != hr) 2793
2794 if (E_NOTIMPL == hr)
2795 { 2795 {
2796 lres = wndProcResults.lres; 2796 hr = S_OK;
2797 ExitFunction(); 2797 }
2798 else
2799 {
2800 BalExitOnFailure(hr, "BAFunctions WndProc failed.");
2801
2802 if (wndProcResults.fProcessed)
2803 {
2804 lres = wndProcResults.lResult;
2805 ExitFunction();
2806 }
2798 } 2807 }
2799 } 2808 }
2800 } 2809 }
@@ -2910,8 +2919,7 @@ private:
2910 if (m_pfnBAFunctionsProc) 2919 if (m_pfnBAFunctionsProc)
2911 { 2920 {
2912 themeLoadedArgs.cbSize = sizeof(themeLoadedArgs); 2921 themeLoadedArgs.cbSize = sizeof(themeLoadedArgs);
2913 themeLoadedArgs.pTheme = m_pTheme; 2922 themeLoadedArgs.hWnd = m_pTheme->hwndParent;
2914 themeLoadedArgs.pWixLoc = m_pWixLoc;
2915 themeLoadedResults.cbSize = sizeof(themeLoadedResults); 2923 themeLoadedResults.cbSize = sizeof(themeLoadedResults);
2916 hr = m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONTHEMELOADED, &themeLoadedArgs, &themeLoadedResults, m_pvBAFunctionsProcContext); 2924 hr = m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONTHEMELOADED, &themeLoadedArgs, &themeLoadedResults, m_pvBAFunctionsProcContext);
2917 BalExitOnFailure(hr, "BAFunctions OnThemeLoaded failed."); 2925 BalExitOnFailure(hr, "BAFunctions OnThemeLoaded failed.");