From: Włodzimierz Skiba Date: Fri, 5 Nov 2004 20:53:23 +0000 (+0000) Subject: OW warning fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/141f4958e0c016bcbc2993e173a8e0508848c882?ds=inline OW warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index 97eaaef176..04ee582b81 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -1228,7 +1228,8 @@ static DWORD wxRasMonitorThread(wxRasThreadData *data) // using wxLogLastError() from here is dangerous: we risk to // deadlock the main thread if wxLog sends output to GUI DWORD err = GetLastError(); - wxMessageOutputDebug().Printf + wxMessageOutputDebug dbg; + dbg.Printf ( wxT("WaitForMultipleObjects(RasMonitor) failed: 0x%08lx (%s)"), err,