]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/aboutdlgg.cpp
Fixed wxRichTextCtrl base class
[wxWidgets.git] / src / generic / aboutdlgg.cpp
index b7a9fcf9775109ada00a0f8dafc8a66b2706f718..e2cc19315ac3aedeb818e8fa8c0d23bdf390ce60 100644 (file)
@@ -100,8 +100,11 @@ wxString wxAboutDialogInfo::GetCopyrightToDisplay() const
 {
     wxString ret = m_copyright;
 
-    ret.Replace("(c)", "\u00A9");
-    ret.Replace("(C)", "\u00A9");
+#if wxUSE_UNICODE
+    const wxString copyrightSign = wxString::FromUTF8("\xc2\xa9");
+    ret.Replace("(c)", copyrightSign);
+    ret.Replace("(C)", copyrightSign);
+#endif // wxUSE_UNICODE
 
     return ret;
 }