removed a few warnings and CW compilation problems (patch from Dimitri)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-03-27 18:43:13 +00:00
parent cebab22d9e
commit 4ccf704abd
9 changed files with 225 additions and 200 deletions

View File

@@ -956,8 +956,8 @@ bool wxDialUpManagerMSW::IsAlwaysOnline() const
if ( pfnInternetGetConnectedState(&flags, 0 /* reserved */) )
{
// there is some connection to the net, see of which type
ms_isAlwaysOnline = (flags & INTERNET_CONNECTION_LAN != 0) ||
(flags & INTERNET_CONNECTION_PROXY != 0);
ms_isAlwaysOnline = ((flags & INTERNET_CONNECTION_LAN) != 0)
|| ((flags & INTERNET_CONNECTION_PROXY) != 0);
}
else
{