]> git.saurik.com Git - wxWidgets.git/commitdiff
OW warning fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 5 Nov 2004 20:53:23 +0000 (20:53 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 5 Nov 2004 20:53:23 +0000 (20:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dialup.cpp

index 97eaaef176d97dd1793d2e50767e1cb915294e30..04ee582b81f23c26f6ed95e24b22dd2b770d4563 100644 (file)
@@ -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,