X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2049ba38adafa0ec146880de29f26e32dd69a125..bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8:/src/common/prntbase.cpp diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index 99dcfbc57d..9f0da1d25f 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -148,9 +148,9 @@ void wxPrinterBase::ReportError(wxWindow *parent, wxPrintout *WXUNUSED(printout) * Printout class */ -wxPrintout::wxPrintout(char *title) +wxPrintout::wxPrintout(const char *title) { - printoutTitle = title ? copystring(title) : (char*)NULL; + printoutTitle = title ? copystring(title) : NULL; printoutDC = NULL; pageWidthMM = 0; pageHeightMM = 0;