]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
silently ignore NULL pointers in MSWOnMeasureItem(): apparently this can happen with...
[wxWidgets.git] / src / common / sckipc.cpp
index 79e5ce5d461f8c969c204d8ad71dc64b0b15dceb..5dbcec46cd366800e6210cbd13ec76c69285df69 100644 (file)
@@ -86,7 +86,7 @@ enum
 
 // get the address object for the given server name, the caller must delete it
 static wxSockAddress *
-GetAddressFromName(const wxString& serverName, const wxString& host = _T(""))
+GetAddressFromName(const wxString& serverName, const wxString& host = wxEmptyString)
 {
     // we always use INET sockets under non-Unix systems
 #if defined(__UNIX__) && !defined(__WXMAC__) && !defined(__WINE__)