X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f61815af20ebb943000d36ea01489f6115e4061c..8708a10fa67501ab9fbf8f6160b89c26f1c59cbd:/src/common/sckaddr.cpp diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 5681aaadd7..fbfea8ce3b 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -30,11 +30,12 @@ #include #endif -#include -#include -#include -#include -#include +#include "wx/defs.h" +#include "wx/object.h" +#include "wx/log.h" +#include "wx/intl.h" +#include "wx/gsocket.h" +#include "wx/sckaddr.h" #if !USE_SHARED_LIBRARY IMPLEMENT_ABSTRACT_CLASS(wxSockAddress, wxObject) @@ -103,8 +104,9 @@ wxIPV4address::~wxIPV4address() bool wxIPV4address::Hostname(const wxString& name) { // Some people are sometimes fool. - if (name == _T("")) { - wxLogWarning( _T("Trying to solve a NULL hostname: giving up") ); + if (name == wxT("")) + { + wxLogWarning( _("Trying to solve a NULL hostname: giving up") ); return FALSE; }