Dmitry Timoshkov : user32: Issue a warning when dialog control creation fails.
Module: wine Branch: master Commit: eb0576ba5904cd4faeb1775ee9e214ba78a257fd URL: http://source.winehq.org/git/wine.git/?a=commit;h=eb0576ba5904cd4faeb1775ee9... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Thu Nov 17 13:19:38 2011 +0800 user32: Issue a warning when dialog control creation fails. --- 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; }
participants (1)
-
Alexandre Julliard