From 141f4958e0c016bcbc2993e173a8e0508848c882 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 5 Nov 2004 20:53:23 +0000 Subject: [PATCH] OW warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dialup.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.45.2