]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
pointer returned by GetNativeFontInfo() is now const and must not be deleted (replace...
[wxWidgets.git] / src / msw / dialup.cpp
index 72b6990c784860c259109a5c267d555fd20afb9b..3ccfba7a7fa5f5c79df8b8b89d5fdd3c808d7a73 100644 (file)
@@ -961,6 +961,12 @@ bool wxDialUpManagerMSW::IsOnline() const
 {
     wxCHECK_MSG( IsOk(), FALSE, wxT("using uninitialized wxDialUpManager") );
 
+    if ( IsAlwaysOnline() )
+    {
+        // always => now
+        return true;
+    }
+
     if ( ms_userSpecifiedOnlineStatus != -1 )
     {
         // user specified flag overrides our logic