]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/printwin.cpp
Update compile support for OpenVMS
[wxWidgets.git] / src / msw / printwin.cpp
index 281521c391ad20627dc968b66e527237f377955c..99f2892758b818d09a1cd1eec884bce6cee81041 100644 (file)
@@ -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();
@@ -508,7 +508,7 @@ public:
                    const wxSize& fullSize)
         : wxDC(new PageFragmentDCImpl((wxMemoryDC*)this, printer, offset, fullSize))
     {
-        wx_static_cast(PageFragmentDCImpl*, m_pimpl)->DoSelect(bmp);
+        static_cast<PageFragmentDCImpl*>(m_pimpl)->DoSelect(bmp);
     }
 };