]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/prntdlgg.cpp
wxListBox::FindString(): it's not an error if the string is not found, so
[wxWidgets.git] / src / generic / prntdlgg.cpp
index 9a997388d1ae5c280299c058a22a45a44860f3b5..74837533a2df918e6a533becc9192a91a3de9b91 100644 (file)
@@ -286,7 +286,7 @@ bool wxGenericPrintDialog::TransferDataFromWindow(void)
 
 wxDC *wxGenericPrintDialog::GetPrintDC(void)
 {
-  return new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, NULL);
+  return new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, (wxWindow *) NULL);
 }
 
 /*