]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Metrowerks Objective-C++ is more strict about types than Apple's.
[wxWidgets.git] / src / common / utilscmn.cpp
index d3ecc68a974b63366ddc0d858127756f2c4ce2ad..09369b63f3151bef006dc88747bd6543bdb3d0b7 100644 (file)
 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
 }