]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
Implement icon text column using native GTK renderers in wxDVC.
[wxWidgets.git] / src / generic / printps.cpp
index 5a13e0120d20d4d9cf5aa7236f16978f8113d6d4..d5396c480a940bbfc5c64180d20876e02c2ad879 100644 (file)
@@ -72,7 +72,7 @@ wxPostScriptPrinter::~wxPostScriptPrinter()
 bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
 {
     sm_abortIt = false;
-    sm_abortWindow = (wxWindow *) NULL;
+    sm_abortWindow = NULL;
 
     if (!printout)
     {
@@ -232,7 +232,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
 
 wxDC* wxPostScriptPrinter::PrintDialog(wxWindow *parent)
 {
-    wxDC* dc = (wxDC*) NULL;
+    wxDC* dc = NULL;
 
     wxGenericPrintDialog dialog( parent, &m_printDialogData );
     if (dialog.ShowModal() == wxID_OK)