]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckaddr.cpp
Optimized for performance.
[wxWidgets.git] / src / common / sckaddr.cpp
index 5681aaadd7c6775d9d205ffd3e454d660923f0bd..fbfea8ce3b91702a965eedcca069ebe59d180cb1 100644 (file)
 #include <memory.h>
 #endif
 
-#include <wx/defs.h>
-#include <wx/object.h>
-#include <wx/log.h>
-#include <wx/gsocket.h>
-#include <wx/sckaddr.h>
+#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;
   }