fix unused vars for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,8 +83,8 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void DoDrawText(const wxString& text, wxCoord x, wxCoord y);
|
void DoDrawText(const wxString& text, wxCoord x, wxCoord y);
|
||||||
|
|
||||||
bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
|
bool DoFloodFill(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxColour& WXUNUSED(col),
|
||||||
int style = wxFLOOD_SURFACE)
|
int WXUNUSED(style) = wxFLOOD_SURFACE)
|
||||||
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::DoFloodFill Call not implemented")); return FALSE ; };
|
{ 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 ; } ;
|
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;
|
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 ; };
|
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::GetClippingBox Call not yet implemented")); return ; };
|
||||||
|
|
||||||
int GetLogicalFunction()
|
int GetLogicalFunction()
|
||||||
@@ -276,10 +276,10 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void SetAxisOrientation( bool xLeftRight, bool yBottomUp ) ;
|
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 ; };
|
{ 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 ; };
|
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetPalette Call not yet implemented")); return ; };
|
||||||
|
|
||||||
void SetBackground( const wxBrush &brush ) ;
|
void SetBackground( const wxBrush &brush ) ;
|
||||||
@@ -290,7 +290,7 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void SetFont(const wxFont& font) ;
|
void SetFont(const wxFont& font) ;
|
||||||
|
|
||||||
void SetLogicalFunction(int function)
|
void SetLogicalFunction(int WXUNUSED(function))
|
||||||
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetLogicalFunction Call implemented")); return ; };
|
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetLogicalFunction Call implemented")); return ; };
|
||||||
|
|
||||||
void SetLogicalScale( double x, double y ) ;
|
void SetLogicalScale( double x, double y ) ;
|
||||||
@@ -301,13 +301,13 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void SetMapMode(int anint) ;
|
void SetMapMode(int anint) ;
|
||||||
|
|
||||||
void SetOptimization(bool optimize) { return ; };
|
void SetOptimization(bool WXUNUSED(optimize)) { return ; };
|
||||||
|
|
||||||
void SetPen(const wxPen& pen) ;
|
void SetPen(const wxPen& pen) ;
|
||||||
|
|
||||||
void SetUserScale(double xScale, double yScale) ;
|
void SetUserScale(double xScale, double yScale) ;
|
||||||
|
|
||||||
bool StartDoc(const wxString& message)
|
bool StartDoc(const wxString& WXUNUSED(message))
|
||||||
{ return FALSE; };
|
{ return FALSE; };
|
||||||
|
|
||||||
void StartPage()
|
void StartPage()
|
||||||
|
@@ -83,8 +83,8 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void DoDrawText(const wxString& text, wxCoord x, wxCoord y);
|
void DoDrawText(const wxString& text, wxCoord x, wxCoord y);
|
||||||
|
|
||||||
bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
|
bool DoFloodFill(wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxColour& WXUNUSED(col),
|
||||||
int style = wxFLOOD_SURFACE)
|
int WXUNUSED(style) = wxFLOOD_SURFACE)
|
||||||
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::DoFloodFill Call not implemented")); return FALSE ; };
|
{ 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 ; } ;
|
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;
|
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 ; };
|
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::GetClippingBox Call not yet implemented")); return ; };
|
||||||
|
|
||||||
int GetLogicalFunction()
|
int GetLogicalFunction()
|
||||||
@@ -276,10 +276,10 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void SetAxisOrientation( bool xLeftRight, bool yBottomUp ) ;
|
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 ; };
|
{ 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 ; };
|
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetPalette Call not yet implemented")); return ; };
|
||||||
|
|
||||||
void SetBackground( const wxBrush &brush ) ;
|
void SetBackground( const wxBrush &brush ) ;
|
||||||
@@ -290,7 +290,7 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void SetFont(const wxFont& font) ;
|
void SetFont(const wxFont& font) ;
|
||||||
|
|
||||||
void SetLogicalFunction(int function)
|
void SetLogicalFunction(int WXUNUSED(function))
|
||||||
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetLogicalFunction Call implemented")); return ; };
|
{ wxASSERT_MSG (FALSE, wxT("wxSVGFILEDC::SetLogicalFunction Call implemented")); return ; };
|
||||||
|
|
||||||
void SetLogicalScale( double x, double y ) ;
|
void SetLogicalScale( double x, double y ) ;
|
||||||
@@ -301,13 +301,13 @@ class wxSVGFileDC : public wxDC
|
|||||||
|
|
||||||
void SetMapMode(int anint) ;
|
void SetMapMode(int anint) ;
|
||||||
|
|
||||||
void SetOptimization(bool optimize) { return ; };
|
void SetOptimization(bool WXUNUSED(optimize)) { return ; };
|
||||||
|
|
||||||
void SetPen(const wxPen& pen) ;
|
void SetPen(const wxPen& pen) ;
|
||||||
|
|
||||||
void SetUserScale(double xScale, double yScale) ;
|
void SetUserScale(double xScale, double yScale) ;
|
||||||
|
|
||||||
bool StartDoc(const wxString& message)
|
bool StartDoc(const wxString& WXUNUSED(message))
|
||||||
{ return FALSE; };
|
{ return FALSE; };
|
||||||
|
|
||||||
void StartPage()
|
void StartPage()
|
||||||
|
Reference in New Issue
Block a user