]> git.saurik.com Git - wxWidgets.git/commitdiff
only do (c) and (C) translation in Unicode build
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Feb 2009 09:47:07 +0000 (09:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Feb 2009 09:47:07 +0000 (09:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/aboutdlgg.cpp

index c6f1845ca724fb695d389b2ba524136c50205bcf..e2cc19315ac3aedeb818e8fa8c0d23bdf390ce60 100644 (file)
@@ -100,9 +100,11 @@ wxString wxAboutDialogInfo::GetCopyrightToDisplay() const
 {
     wxString ret = m_copyright;
 
+#if wxUSE_UNICODE
     const wxString copyrightSign = wxString::FromUTF8("\xc2\xa9");
     ret.Replace("(c)", copyrightSign);
     ret.Replace("(C)", copyrightSign);
+#endif // wxUSE_UNICODE
 
     return ret;
 }