]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
Set flags and libs for using unicows if MSLU=1
[wxWidgets.git] / src / msw / dialup.cpp
index cbdd14594e7f6855a8dd8e203e7afd755c375b9f..e76a06c34b22518c1c27b55b6439a7873db28bbc 100644 (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
             {