comctl32: improve GUI error messages

Austin English austinenglish at gmail.com
Wed Nov 6 13:55:12 CST 2013


Requested by Focht. Fixes http://bugs.winehq.org/show_bug.cgi?id=34850

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index d2ad28f..236ba08 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -1628,7 +1628,7 @@ HRESULT WINAPI TaskDialogIndirect(const TASKDIALOGCONFIG *pTaskConfig, int *pnBu
     else
     if (pTaskConfig->dwCommonButtons & TDCBF_OK_BUTTON)
         uType |= MB_OK;
-    ret = MessageBoxW(pTaskConfig->hwndParent, pTaskConfig->pszMainInstruction,
+    ret = MessageBoxW(pTaskConfig->hwndParent, pTaskConfig->pszContent,
                       pTaskConfig->pszWindowTitle, uType);
     FIXME("dwCommonButtons=%x uType=%x ret=%x\n", pTaskConfig->dwCommonButtons, uType, ret);
 


More information about the wine-patches mailing list