]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
concentrating content and structure region calculations
[wxWidgets.git] / src / generic / printps.cpp
index 615fa7e615a61ea1b678b4553366b1dbb7789e1d..aea9ddf5bc1fb1c5a7bff5218852b62ba87326d5 100644 (file)
@@ -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);