Menu

#31 Use base-class wxPrintout instead of wxLuaPrintout

next release
closed-accepted
None
5
2014-04-21
2014-03-13
Nick Götze
No

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)

Discussion

  • John Labenski

    John Labenski - 2014-04-21

    Fixed in SVN trunk.

    I had used wxLuaPrintout as a hint to people that in wxLua you would probably want to create a wxLuaPrintout...

     
  • John Labenski

    John Labenski - 2014-04-21
    • status: open --> closed-accepted
    • assigned_to: John Labenski
     

Log in to post a comment.