Dmitry Timoshkov : user32: Issue a warning when dialog control creation fails.

Alexandre Julliard julliard at winehq.org
Thu Nov 17 12:52:34 CST 2011


Module: wine
Branch: master
Commit: eb0576ba5904cd4faeb1775ee9e214ba78a257fd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eb0576ba5904cd4faeb1775ee9e214ba78a257fd

Author: Dmitry Timoshkov <dmitry at 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;
         }




More information about the wine-cvs mailing list