]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/printps.cpp
another fix for !USE_PCH: added missing wx/imaglist.h include
[wxWidgets.git] / src / generic / printps.cpp
index 3ded1231013735774e6f850ab43cc3d48df43249..3b566ffefaf94d49784f2de14fc28a26ee1019f4 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "printps.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -255,7 +251,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 +269,7 @@ bool wxPostScriptPrinter::Setup(wxWindow *parent)
     return (ret == wxID_OK);
 #endif
 
-    return wxID_CANCEL;
+    return false;
 }
 
 // ----------------------------------------------------------------------------