]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Include wx/validate.h and wx/valtext.h according to precompiled headers of wx/wx...
[wxWidgets.git] / src / html / htmprint.cpp
index 4625c82e897bb18df6fe05456a1cc4dd1aed8f42..f62cbc0133ceb79799eb0e21be65763cab13c565 100644 (file)
@@ -22,6 +22,7 @@
     #include "wx/intl.h"
     #include "wx/dc.h"
     #include "wx/settings.h"
+    #include "wx/msgdlg.h"
 #endif
 
 #include "wx/print.h"
@@ -439,7 +440,7 @@ wxString wxHtmlPrintout::TranslateHeader(const wxString& instr, int page)
     num.Printf(wxT("%i"), page);
     r.Replace(wxT("@PAGENUM@"), num);
 
-    num.Printf(wxT("%i"), m_PageBreaks.Count()-1);
+    num.Printf(wxT("%lu"), m_PageBreaks.Count()-1);
     r.Replace(wxT("@PAGESCNT@"), num);
 
     return r;