]> git.saurik.com Git - wxWidgets.git/commitdiff
Warning fixes.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 8 Nov 2004 19:57:37 +0000 (19:57 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 8 Nov 2004 19:57:37 +0000 (19:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/printps.cpp
src/generic/prntdlgg.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;
 }
 
 // ----------------------------------------------------------------------------
index 5d24eb9e7d264c838b95e9dae52d0127ff0200b9..44d3eb1c4a069223ba349fcde718bb79530f8f9c 100644 (file)
@@ -110,12 +110,12 @@ wxPostScriptPrintNativeData::~wxPostScriptPrintNativeData()
 {
 }
 
-bool wxPostScriptPrintNativeData::TransferTo( wxPrintData &data )
+bool wxPostScriptPrintNativeData::TransferTo( wxPrintData &WXUNUSED(data) )
 {
     return true;
 }
 
-bool wxPostScriptPrintNativeData::TransferFrom( const wxPrintData &data )
+bool wxPostScriptPrintNativeData::TransferFrom( const wxPrintData &WXUNUSED(data) )
 {
     return true;
 }