]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
Fixed core dump for when there is no image list on the TreeCtrl
[wxWidgets.git] / src / generic / printps.cpp
index 5cb8272a26cdaf93ecb255ae51abb6a2e08d5391..be4cbae7b6e81370c0a5e96f537e1183fb810942 100644 (file)
@@ -178,7 +178,8 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
        printout->GetTitle(),
        _("Printing..."),
        totalPages,
-       parent );
+       parent,
+       wxPD_CAN_ABORT|wxPD_AUTO_HIDE|wxPD_APP_MODAL);
     
     printout->OnBeginPrinting();