]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/debughlp.cpp
don't append anything back in DoDeleteOneItem() if the control becomes empty (fixes...
[wxWidgets.git] / src / msw / debughlp.cpp
index 726900c638933d227f54e2c189aed9517d5dfb15..3fd7b88a4b7b018c898a2cb498210141d6498c9d 100644 (file)
@@ -145,7 +145,7 @@ const wxString& wxDbgHelpDLL::GetErrorMessage()
 void wxDbgHelpDLL::LogError(const wxChar *func)
 {
     ::OutputDebugString(wxString::Format(_T("dbghelp: %s() failed: %s\r\n"),
-                        func, wxSysErrorMsg(::GetLastError())));
+                        func, wxSysErrorMsg(::GetLastError())).wx_str());
 }
 
 // ----------------------------------------------------------------------------