X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba4fbebbc40bdf9c140f4c9ba9977fbf810527d..491b5be8305968871bc289453ed088a70c3de044:/src/msw/dialup.cpp diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index 8db47bdd84..5d94d8d8df 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -57,11 +57,10 @@ DEFINE_EVENT_TYPE(wxEVT_DIALUP_DISCONNECTED) // Doesn't yet compile under VC++ 4, BC++, Watcom C++: no wininet.h #if !defined(__BORLANDC__) && \ + (!defined(__GNUWIN32__) || wxCHECK_W32API_VERSION(0, 5)) && \ !defined(__GNUWIN32_OLD__) && \ !defined(__WATCOMC__) && \ (!defined(__VISUALC__) || (__VISUALC__ >= 1020)) - // FIXME: add this back as soon as wxCHECK_W32API_VERSION is chcked in - // (!defined(__GNUWIN32__) || wxCHECK_W32API_VERSION(0, 5)) && \ #include #include @@ -866,7 +865,7 @@ bool wxDialUpManagerMSW::Dial(const wxString& nameOfISP, if ( dwRet != 0 ) { wxLogError(_("Failed to %s dialup connection: %s"), - async ? _("initiate") : _("establish"), + wxString(async ? _("initiate") : _("establish")).c_str(), GetErrorString(dwRet).c_str()); // we should still call RasHangUp() if we got a non 0 connection