]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
Use the app name, not display name, as debug report name,
[wxWidgets.git] / src / msw / control.cpp
index b3e4f5b2ec66808313ca218bd35a6bb9fabad025..1fac8d1ed242f5741be14949701180df7f572b20 100644 (file)
@@ -143,13 +143,11 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
 
     if ( !m_hWnd )
     {
-#ifdef __WXDEBUG__
         wxLogLastError(wxString::Format
                        (
-                        _T("CreateWindowEx(\"%s\", flags=%08lx, ex=%08lx)"),
+                        wxT("CreateWindowEx(\"%s\", flags=%08lx, ex=%08lx)"),
                         classname, style, exstyle
                        ));
-#endif // __WXDEBUG__
 
         return false;
     }