]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
compilation fix for wxUSE_PROTOCOL_FILE=0
[wxWidgets.git] / src / common / intl.cpp
index 83fac1f03b3706829ec1105febd74241a9431e44..7d1b0d14cfa7874a06ad8cd868d4f94f1934c510 100644 (file)
@@ -1364,11 +1364,7 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString,
                                      const wxChar *szDomain) const
 {
   if ( wxIsEmpty(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
 
   const char *pszTrans = NULL;
 #if wxUSE_UNICODE