From 6fc5f04e9b483a9620b30707683dbb0b884d0f41 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Feb 2009 09:47:07 +0000 Subject: [PATCH] only do (c) and (C) translation in Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/aboutdlgg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generic/aboutdlgg.cpp b/src/generic/aboutdlgg.cpp index c6f1845ca7..e2cc19315a 100644 --- a/src/generic/aboutdlgg.cpp +++ b/src/generic/aboutdlgg.cpp @@ -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; } -- 2.45.2