X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1f4970d737431a49988090c4088551ea016465e..c6e62f74fcac5b62889b59e7ce7a41d0ce884d7b:/src/msw/dialup.cpp diff --git a/src/msw/dialup.cpp b/src/msw/dialup.cpp index d02781f6dc..aad7149867 100644 --- a/src/msw/dialup.cpp +++ b/src/msw/dialup.cpp @@ -38,12 +38,16 @@ #include "wx/event.h" #endif +#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++ nor with mingw: no wininet.h -#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) +// Doesn't yet compile under BC++, mingw, Watcom C++: no wininet.h +#if !defined(__BORLANDC__) && !defined(__GNUWIN32_OLD__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__) #include #include @@ -1087,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,