#include "wx/intl.h"
#include "wx/dc.h"
#include "wx/settings.h"
+ #include "wx/msgdlg.h"
#endif
#include "wx/print.h"
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;