diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 87d3486ae8..449ad39e3f 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -4049,8 +4049,8 @@ WXHWND wxWindowMSW::MSWCreateWindowAtAnyPosition(WXDWORD exStyle, const wxChar* { wxLogLastError(wxString::Format ( - wxT("CreateWindowEx(\"%s\", flags=%08lx, ex=%08lx)"), - clName, style, exStyle + wxT("CreateWindowEx(\"%s\", flags=%08lx, ex=%08lx, title-len=%zu)"), + clName, style, exStyle, title ? wxStrlen(title) : 0 )); } else if ( !IsTopLevel() && !MSWIsPositionDirectlySupported(x, y) )