]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
copyright update
[wxWidgets.git] / src / common / intl.cpp
index f41c6ba9c54cbd089e22227cd19c9cebba57547a..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,7 +1368,7 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString,
                                      const wxChar *szDomain) const
 {
   if ( wxIsEmpty(szOrigString) )
-      return szDomain;
+    return _T("");
 
   const char *pszTrans = NULL;
 #if wxUSE_UNICODE