#include <sys/stat.h>
#endif
-#if defined(__WXMSW__) && !defined(__PALMOS__)
+#if defined(__WXMSW__)
#include "wx/msw/private.h"
#endif
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];
#ifdef wxINSTALL_PREFIX
return wxT(wxINSTALL_PREFIX);
#else
- return wxT("");
+ return wxEmptyString;
#endif
}
wxString email;
wxString host = wxGetFullHostName();
- if ( !host.IsEmpty() )
+ if ( !host.empty() )
{
wxString user = wxGetUserId();
- if ( !user.IsEmpty() )
+ if ( !user.empty() )
{
email << user << wxT('@') << host;
}