X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..f5766910b6731eb03e82371416e9778203396ce7:/samples/printing/printing.h diff --git a/samples/printing/printing.h b/samples/printing/printing.h index 0b04dccc6b..f3c2b6d98c 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -68,7 +68,7 @@ DECLARE_EVENT_TABLE() class MyPrintout: public wxPrintout { public: - MyPrintout(wxChar *title = _T("My printout")):wxPrintout(title) {} + MyPrintout(const wxChar *title = _T("My printout")):wxPrintout(title) {} bool OnPrintPage(int page); bool HasPage(int page); bool OnBeginDocument(int startPage, int endPage);