X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12bdd77c85888f29ed94e23ba28d31d99a522598..e9cece45b96f74bc6b03a90eff76adc271ccb8ea:/src/generic/printps.cpp diff --git a/src/generic/printps.cpp b/src/generic/printps.cpp index 615fa7e615..aea9ddf5bc 100644 --- a/src/generic/printps.cpp +++ b/src/generic/printps.cpp @@ -135,7 +135,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro m_printDialogData.SetMaxPage(9999); // Create a suitable device context - wxDC *dc = (wxDC *) NULL; + wxDC *dc; if (prompt) { dc = PrintDialog(parent);