]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
Added some documentation :)
[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