]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Some work on tabbing and menu accels,
[wxWidgets.git] / src / html / htmprint.cpp
index c8381d4fd40694db8879735ac52b6e76eea5f6ba..5863e4bd8840000717f2cae84810f2ac8e7e84f5 100644 (file)
@@ -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;
 }