From: Ove Kaaven Date: Thu, 29 Mar 2001 13:08:18 +0000 (+0000) Subject: Unicode compilation fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f9671150978a0bbb5d5b52f1442e3e3e3d023871 Unicode compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index 22c761e6fc..1da01a2ed0 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -170,7 +170,7 @@ wxString wxNativeFontInfo::ToString() const { wxString s; - s.Printf("%d;%s", + s.Printf(_T("%d;%s"), 0, // version xFontName.c_str()); diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 22c761e6fc..1da01a2ed0 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -170,7 +170,7 @@ wxString wxNativeFontInfo::ToString() const { wxString s; - s.Printf("%d;%s", + s.Printf(_T("%d;%s"), 0, // version xFontName.c_str());