]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
destroying native and wx controls
[wxWidgets.git] / src / generic / printps.cpp
index 3ded1231013735774e6f850ab43cc3d48df43249..e63de1fa57473e83b77a261574641cb071bd9203 100644 (file)
@@ -255,7 +255,7 @@ wxDC* wxPostScriptPrinter::PrintDialog(wxWindow *parent)
     return dc;
 }
 
-bool wxPostScriptPrinter::Setup(wxWindow *parent)
+bool wxPostScriptPrinter::Setup(wxWindow *WXUNUSED(parent))
 {
 #if 0
     wxGenericPrintDialog* dialog = new wxGenericPrintDialog(parent, & m_printDialogData);
@@ -273,7 +273,7 @@ bool wxPostScriptPrinter::Setup(wxWindow *parent)
     return (ret == wxID_OK);
 #endif
 
-    return wxID_CANCEL;
+    return false;
 }
 
 // ----------------------------------------------------------------------------