X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..5bf3b6fe48580853044132c381d3548535ca7ad1:/src/msw/printwin.cpp?ds=inline diff --git a/src/msw/printwin.cpp b/src/msw/printwin.cpp index 41e0c03621..99f2892758 100644 --- a/src/msw/printwin.cpp +++ b/src/msw/printwin.cpp @@ -286,7 +286,7 @@ bool wxWindowsPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt wxDC *wxWindowsPrinter::PrintDialog(wxWindow *parent) { - wxDC *dc = (wxPrinterDC*) NULL; + wxDC *dc = NULL; wxWindowsPrintDialog dialog(parent, & m_printDialogData); int ret = dialog.ShowModal();