]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/prntbase.cpp
Fixed various wxMSW compile problems that came down the telephone line...
[wxWidgets.git] / src / common / prntbase.cpp
index 99dcfbc57d012d32a02f573bad631b3ba900984f..9f0da1d25f2e9fe458d2bbbdfea57cb61fe3e75c 100644 (file)
@@ -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;