X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/106f039552385de4d8b7c2e530a00057e9b78208..71fe5c01eb5072bfbaf940f6675acbabc6d8913b:/src/msw/dialup.cpp diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index 64542d048c..c23defa839 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -34,22 +34,28 @@ #ifndef WX_PRECOMP #include "wx/log.h" + #include "wx/intl.h" + #include "wx/event.h" +#endif + +#include "wx/msw/private.h" // must be before #include "dynlib.h" + +#if !wxUSE_DYNLIB_CLASS + #error You need wxUSE_DYNLIB_CLASS to be 1 to compile dialup.cpp. #endif #include "wx/dynlib.h" #include "wx/dialup.h" -// Doesn't yet compile under BC++: no wininet.h -#ifndef __BORLANDC__ +// Doesn't yet compile under BC++, mingw, Watcom C++: no wininet.h +#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__) #include #include #include -#include "wx/msw/private.h" - // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -1085,7 +1091,7 @@ bool wxDialUpManagerMSW::EnableAutoCheckOnlineStatus(size_t nSeconds) { // create a hidden window to receive notification about connections // status change - extern wxChar wxPanelClassName[]; + extern const wxChar *wxPanelClassName; ms_hwndRas = ::CreateWindow(wxPanelClassName, NULL, 0, 0, 0, 0, 0, NULL,