From 9c11ecdbed3845da98e0b492b82d19fd668cffed Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Wed, 12 Feb 2003 20:58:58 +0000 Subject: [PATCH] fix unused vars for watcom git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/svg/dcsvg.h | 16 ++++++++-------- include/wx/dcsvg.h | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/contrib/include/wx/svg/dcsvg.h b/contrib/include/wx/svg/dcsvg.h index 12e18db630..289f1eaccb 100644 --- a/contrib/include/wx/svg/dcsvg.h +++ b/contrib/include/wx/svg/dcsvg.h @@ -83,8 +83,8 @@ class wxSVGFileDC : public wxDC void DoDrawText(const wxString& text, wxCoord x, wxCoord y); - bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col, - int style = wxFLOOD_SURFACE) + bool DoFloodFill(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxColour& WXUNUSED(col), + int WXUNUSED(style) = wxFLOOD_SURFACE) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::DoFloodFill Call not implemented")); return FALSE ; }; void DoGetSize(int * x, int *y) const { *x = m_width; *y = m_height ; return ; } ; @@ -248,7 +248,7 @@ class wxSVGFileDC : public wxDC wxCoord GetCharWidth() const; - void GetClippingBox(wxCoord *x, wxCoord *y, wxCoord *width, wxCoord *height) + void GetClippingBox(wxCoord *WXUNUSED(x), wxCoord *WXUNUSED(y), wxCoord * WXUNUSED(width), wxCoord * WXUNUSED(height)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::GetClippingBox Call not yet implemented")); return ; }; int GetLogicalFunction() @@ -276,10 +276,10 @@ class wxSVGFileDC : public wxDC void SetAxisOrientation( bool xLeftRight, bool yBottomUp ) ; - void SetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height) + void SetClippingRegion(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), wxCoord WXUNUSED(width), wxCoord WXUNUSED(height)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetClippingRegion Call not yet implemented")); return ; }; - void SetPalette(const wxPalette& palette) + void SetPalette(const wxPalette& WXUNUSED(palette)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetPalette Call not yet implemented")); return ; }; void SetBackground( const wxBrush &brush ) ; @@ -290,7 +290,7 @@ class wxSVGFileDC : public wxDC void SetFont(const wxFont& font) ; - void SetLogicalFunction(int function) + void SetLogicalFunction(int WXUNUSED(function)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetLogicalFunction Call implemented")); return ; }; void SetLogicalScale( double x, double y ) ; @@ -301,13 +301,13 @@ class wxSVGFileDC : public wxDC void SetMapMode(int anint) ; - void SetOptimization(bool optimize) { return ; }; + void SetOptimization(bool WXUNUSED(optimize)) { return ; }; void SetPen(const wxPen& pen) ; void SetUserScale(double xScale, double yScale) ; - bool StartDoc(const wxString& message) + bool StartDoc(const wxString& WXUNUSED(message)) { return FALSE; }; void StartPage() diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index 12e18db630..289f1eaccb 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -83,8 +83,8 @@ class wxSVGFileDC : public wxDC void DoDrawText(const wxString& text, wxCoord x, wxCoord y); - bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col, - int style = wxFLOOD_SURFACE) + bool DoFloodFill(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxColour& WXUNUSED(col), + int WXUNUSED(style) = wxFLOOD_SURFACE) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::DoFloodFill Call not implemented")); return FALSE ; }; void DoGetSize(int * x, int *y) const { *x = m_width; *y = m_height ; return ; } ; @@ -248,7 +248,7 @@ class wxSVGFileDC : public wxDC wxCoord GetCharWidth() const; - void GetClippingBox(wxCoord *x, wxCoord *y, wxCoord *width, wxCoord *height) + void GetClippingBox(wxCoord *WXUNUSED(x), wxCoord *WXUNUSED(y), wxCoord * WXUNUSED(width), wxCoord * WXUNUSED(height)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::GetClippingBox Call not yet implemented")); return ; }; int GetLogicalFunction() @@ -276,10 +276,10 @@ class wxSVGFileDC : public wxDC void SetAxisOrientation( bool xLeftRight, bool yBottomUp ) ; - void SetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height) + void SetClippingRegion(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), wxCoord WXUNUSED(width), wxCoord WXUNUSED(height)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetClippingRegion Call not yet implemented")); return ; }; - void SetPalette(const wxPalette& palette) + void SetPalette(const wxPalette& WXUNUSED(palette)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetPalette Call not yet implemented")); return ; }; void SetBackground( const wxBrush &brush ) ; @@ -290,7 +290,7 @@ class wxSVGFileDC : public wxDC void SetFont(const wxFont& font) ; - void SetLogicalFunction(int function) + void SetLogicalFunction(int WXUNUSED(function)) { wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetLogicalFunction Call implemented")); return ; }; void SetLogicalScale( double x, double y ) ; @@ -301,13 +301,13 @@ class wxSVGFileDC : public wxDC void SetMapMode(int anint) ; - void SetOptimization(bool optimize) { return ; }; + void SetOptimization(bool WXUNUSED(optimize)) { return ; }; void SetPen(const wxPen& pen) ; void SetUserScale(double xScale, double yScale) ; - bool StartDoc(const wxString& message) + bool StartDoc(const wxString& WXUNUSED(message)) { return FALSE; }; void StartPage() -- 2.45.2