X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50073cf24cb27d0a454d522a7e47f8b30926bd12..354aa1e366a57d896e2cf0943c687b24e8db688c:/src/html/htmprint.cpp diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index c8381d4fd4..5863e4bd88 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -370,11 +370,11 @@ wxString wxHtmlPrintout::TranslateHeader(const wxString& instr, int page) wxString r = instr; wxString num; - num.Printf("%i", page); - r.Replace("@PAGENUM@", num); + num.Printf(wxT("%i"), page); + r.Replace(wxT("@PAGENUM@"), num); - num.Printf("%i", m_NumPages); - r.Replace("@PAGESCNT@", num); + num.Printf(wxT("%i"), m_NumPages); + r.Replace(wxT("@PAGESCNT@"), num); return r; }