Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// -*- c++ -*- ////////////////////////////////////////////////////////////////
|
||||
// Name: unix/dialup.cpp
|
||||
// Name: src/unix/dialup.cpp
|
||||
// Purpose: Network related wxWidgets classes and functions
|
||||
// Author: Karsten Ball<6C>der
|
||||
// Modified by:
|
||||
@@ -12,8 +12,6 @@
|
||||
// for compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_DIALUP_MANAGER
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
@@ -400,7 +398,7 @@ void wxDialUpManagerImpl::DisableAutoCheckOnlineStatus()
|
||||
|
||||
void wxDialUpManagerImpl::SetWellKnownHost(const wxString& hostname, int portno)
|
||||
{
|
||||
if(hostname.Length() == 0)
|
||||
if(hostname.length() == 0)
|
||||
{
|
||||
m_BeaconHost = WXDIALUP_MANAGER_DEFAULT_BEACONHOST;
|
||||
m_BeaconPort = 80;
|
||||
@@ -409,7 +407,7 @@ void wxDialUpManagerImpl::SetWellKnownHost(const wxString& hostname, int portno)
|
||||
|
||||
// does hostname contain a port number?
|
||||
wxString port = hostname.After(wxT(':'));
|
||||
if(port.Length())
|
||||
if(port.length())
|
||||
{
|
||||
m_BeaconHost = hostname.Before(wxT(':'));
|
||||
m_BeaconPort = wxAtoi(port);
|
||||
@@ -766,9 +764,9 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckPing()
|
||||
if (wxFileExists( wxT("SYS$SYSTEM:TCPIP$PING.EXE") ))
|
||||
m_PingPath = wxT("$SYS$SYSTEM:TCPIP$PING");
|
||||
#elif defined(__AIX__)
|
||||
m_PingPath = _T("/etc/ping");
|
||||
m_PingPath = _T("/etc/ping");
|
||||
#elif defined(__SGI__)
|
||||
m_PingPath = _T("/usr/etc/ping");
|
||||
m_PingPath = _T("/usr/etc/ping");
|
||||
#else
|
||||
if (wxFileExists( wxT("/bin/ping") ))
|
||||
m_PingPath = wxT("/bin/ping");
|
||||
|
Reference in New Issue
Block a user