some "const"s added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user