From eb0576ba5904cd4faeb1775ee9e214ba78a257fd Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 17 Nov 2011 13:19:38 +0800 Subject: [PATCH] user32: Issue a warning when dialog control creation fails. --- dlls/user32/dialog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c index 76432417fca..aa159c7ba36 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; } -- 2.11.4.GIT