Check connection to www.wxwidgets.org and not www.google.com
Our tests use the former and not the latter, so check connection to the site we're actually interested in.
This commit is contained in:
parent
668563f2b0
commit
860dd39fab
1 changed files with 1 additions and 1 deletions
|
|
@ -436,7 +436,7 @@ extern bool IsNetworkAvailable()
|
|||
wxSocketBase::Initialize();
|
||||
|
||||
wxIPV4address addr;
|
||||
if (!addr.Hostname(wxASCII_STR("www.google.com")) || !addr.Service(wxASCII_STR("www")))
|
||||
if (!addr.Hostname(wxASCII_STR("www.wxwidgets.org")) || !addr.Service(wxASCII_STR("www")))
|
||||
{
|
||||
wxSocketBase::Shutdown();
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue