]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
detect horizontal overflow in wxHtmlPrintout and warn the user about it
[wxWidgets.git] / src / msw / dialup.cpp
index 66a5a034faabe0f6d0ae6a329d63db60492dd478..da0e96c243dddec9ad3681d72d4aaa5d36f25f0d 100644 (file)
@@ -1269,7 +1269,6 @@ static DWORD wxRasMonitorThread(wxRasThreadData *data)
                 // fall through
 
             case WAIT_FAILED:
-#ifdef __WXDEBUG__
                 // using wxLogLastError() from here is dangerous: we risk to
                 // deadlock the main thread if wxLog sends output to GUI
                 DWORD err = GetLastError();
@@ -1280,7 +1279,6 @@ static DWORD wxRasMonitorThread(wxRasThreadData *data)
                     err,
                     wxSysErrorMsg(err)
                 );
-#endif // __WXDEBUG__
 
                 // no sense in continuing, who knows if the handles we're
                 // waiting for even exist yet...