]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
copyright update
[wxWidgets.git] / src / common / intl.cpp
index 83fac1f03b3706829ec1105febd74241a9431e44..9c7a2e30b7d6311cca59dd7767033da046ba00dd 100644 (file)
     #include "wx/fontmap.h"         // for CharsetToEncoding()
 #endif
 
+#if defined(__WXMAC__)
+  #include  "wx/mac/private.h"  // includes mac headers
+#endif
+
 // ----------------------------------------------------------------------------
 // simple types
 // ----------------------------------------------------------------------------
@@ -1364,11 +1368,7 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString,
                                      const wxChar *szDomain) const
 {
   if ( wxIsEmpty(szOrigString) )
-#if wxUSE_UNICODE
-      return szDomain ? szDomain : wxT("");
-#else // ANSI
-      return szDomain;
-#endif
+    return _T("");
 
   const char *pszTrans = NULL;
 #if wxUSE_UNICODE