]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
wxAUI: Made fixed size floating panes work
[wxWidgets.git] / src / html / htmprint.cpp
index 4625c82e897bb18df6fe05456a1cc4dd1aed8f42..8b957076f13a3a40eab225e1abfb4be964350982 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"), (unsigned long)(m_PageBreaks.Count() - 1));
     r.Replace(wxT("@PAGESCNT@"), num);
 
     return r;