From 6a442d272347c647062ebd3cb1dcf4cae04248f8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 18 Jun 2018 16:53:52 +0200 Subject: [PATCH] Remove unnecessary clipping virtual methods from wxSVGFileDCImpl These methods seem to be useless as they're never called, only the corresponding DoXXX() methods are used by wxDC. --- include/wx/dcsvg.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index 66d1cb42ea..488d0c3057 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -86,23 +86,11 @@ public: virtual wxCoord GetCharHeight() const wxOVERRIDE; virtual wxCoord GetCharWidth() const wxOVERRIDE; - virtual void SetClippingRegion(wxCoord x, wxCoord y, - wxCoord w, wxCoord h) - { - DoSetClippingRegion(x, y, w, h); - } - virtual void SetPalette(const wxPalette& WXUNUSED(palette)) wxOVERRIDE { wxFAIL_MSG(wxT("wxSVGFILEDC::SetPalette not implemented")); } - virtual void GetClippingBox(wxCoord *x, wxCoord *y, - wxCoord *w, wxCoord *h) - { - DoGetClippingBox(x, y, w, h); - } - virtual void SetLogicalFunction(wxRasterOperationMode WXUNUSED(function)) wxOVERRIDE { wxFAIL_MSG(wxT("wxSVGFILEDC::SetLogicalFunction Call not implemented"));