// 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 <ras.h>
#include <raserror.h>
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