File wxcore_print.i
Use base-class wxPrintout instead of wxLuaPrintout, so we can print with wxHtmlPrintout etc. also.
%class %delete wxPrinter, wxObject
..
virtual void CreateAbortWindow(wxWindow parent, wxPrintout printout)
// virtual void CreateAbortWindow(wxWindow parent, wxLuaPrintout printout)
..
bool Print(wxWindow parent, wxPrintout printout, bool prompt=true)
// bool Print(wxWindow parent, wxLuaPrintout printout, bool prompt=true)
..
void ReportError(wxWindow parent, wxPrintout printout, const wxString& message)
// void ReportError(wxWindow parent, wxLuaPrintout printout, const wxString& message)
Fixed in SVN trunk.
I had used wxLuaPrintout as a hint to people that in wxLua you would probably want to create a wxLuaPrintout...