if IsAlwaysOnline() returns true, IsOnline() should also return true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
90b6b97467
commit
90e9494a5d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user