]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/printmac.cpp
return true from HasPending() if we have at least 1 event, not exactly 1 (closes...
[wxWidgets.git] / src / osx / core / printmac.cpp
index c64891c3ffbb2fd2dcf7e3d50b9e9acad929243a..463c61bd74b235d34c303e4ffd03cf4aff51468d 100644 (file)
@@ -562,7 +562,7 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
 
 wxDC* wxMacPrinter::PrintDialog(wxWindow *parent)
 {
-    wxDC* dc = (wxDC*) NULL;
+    wxDC* dc = NULL;
 
     wxPrintDialog dialog(parent, & m_printDialogData);
     int ret = dialog.ShowModal();