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
This commit is contained in:
@@ -100,9 +100,11 @@ wxString wxAboutDialogInfo::GetCopyrightToDisplay() const
|
|||||||
{
|
{
|
||||||
wxString ret = m_copyright;
|
wxString ret = m_copyright;
|
||||||
|
|
||||||
|
#if wxUSE_UNICODE
|
||||||
const wxString copyrightSign = wxString::FromUTF8("\xc2\xa9");
|
const wxString copyrightSign = wxString::FromUTF8("\xc2\xa9");
|
||||||
ret.Replace("(c)", copyrightSign);
|
ret.Replace("(c)", copyrightSign);
|
||||||
ret.Replace("(C)", copyrightSign);
|
ret.Replace("(C)", copyrightSign);
|
||||||
|
#endif // wxUSE_UNICODE
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user