user32: Issue a warning when dialog control creation fails.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Nov 16 23:19:38 CST 2011
---
dlls/user32/dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c
index 7643241..aa159c7 100644
--- a/dlls/user32/dialog.c
+++ b/dlls/user32/dialog.c
@@ -317,6 +317,8 @@ static BOOL DIALOG_CreateControls32( HWND hwnd, LPCSTR template, const DLG_TEMPL
}
if (!hwndCtrl)
{
+ WARN("control %s %s creation failed\n", debugstr_w(info.className),
+ debugstr_w(info.windowName));
if (dlgTemplate->style & DS_NOFAILCREATE) continue;
return FALSE;
}
--
1.7.7.2
More information about the wine-patches
mailing list