git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30300
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// using wxLogLastError() from here is dangerous: we risk to
// deadlock the main thread if wxLog sends output to GUI
DWORD err = GetLastError();
// 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,
(
wxT("WaitForMultipleObjects(RasMonitor) failed: 0x%08lx (%s)"),
err,