X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d1721549883e92f824038c4ba1b3f5d84318bbd..f842e673f6db8c60b6b417a1c5255e1c5ee480db:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 02c4774c93..09369b63f3 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -95,7 +95,7 @@ #include #endif -#if defined(__WXMSW__) && !defined(__PALMOS__) +#if defined(__WXMSW__) #include "wx/msw/private.h" #endif @@ -119,7 +119,7 @@ wxChar * copystring (const wxChar *s) { - if (s == NULL) s = wxT(""); + if (s == NULL) s = wxEmptyString; size_t len = wxStrlen (s) + 1; wxChar *news = new wxChar[len]; @@ -281,7 +281,7 @@ const wxChar *wxGetInstallPrefix() #ifdef wxINSTALL_PREFIX return wxT(wxINSTALL_PREFIX); #else - return wxT(""); + return wxEmptyString; #endif } @@ -330,10 +330,10 @@ wxString wxGetEmailAddress() wxString email; wxString host = wxGetFullHostName(); - if ( !host.IsEmpty() ) + if ( !host.empty() ) { wxString user = wxGetUserId(); - if ( !user.IsEmpty() ) + if ( !user.empty() ) { email << user << wxT('@') << host; }