From c79085b54de3b0cc5263b42b24476199e3556901 Mon Sep 17 00:00:00 2001 From: Robin Dunn <> Date: Tue, 27 Aug 2019 13:54:26 -0700 Subject: [PATCH] (blind) compilation fix for wxQtGraphicsRenderer gradient brush methods --- src/qt/graphics.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/qt/graphics.cpp b/src/qt/graphics.cpp index be97b85cfe..8a9059cced 100644 --- a/src/qt/graphics.cpp +++ b/src/qt/graphics.cpp @@ -1137,13 +1137,15 @@ public: virtual wxGraphicsBrush CreateLinearGradientBrush(wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2, - const wxGraphicsGradientStops& stops) wxOVERRIDE; + const wxGraphicsGradientStops& stops, + const wxGraphicsMatrix& matrix=wxNullGraphicsMatrix) wxOVERRIDE; virtual wxGraphicsBrush CreateRadialGradientBrush(wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius, - const wxGraphicsGradientStops& stops) wxOVERRIDE; + const wxGraphicsGradientStops& stops, + const wxGraphicsMatrix& matrix=wxNullGraphicsMatrix) wxOVERRIDE; // sets the font virtual wxGraphicsFont CreateFont(const wxFont& font, @@ -1274,7 +1276,8 @@ wxGraphicsBrush wxQtGraphicsRenderer::CreateBrush(const wxBrush& brush) wxGraphicsBrush wxQtGraphicsRenderer::CreateLinearGradientBrush( wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2, - const wxGraphicsGradientStops& stops) + const wxGraphicsGradientStops& stops, + const wxGraphicsMatrix& WXUNUSED(matrix)) { wxGraphicsBrush p; wxQtBrushData* d = new wxQtBrushData(this); @@ -1286,7 +1289,8 @@ wxGraphicsBrush wxQtGraphicsRenderer::CreateLinearGradientBrush( wxGraphicsBrush wxQtGraphicsRenderer::CreateRadialGradientBrush( wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble r, - const wxGraphicsGradientStops& stops) + const wxGraphicsGradientStops& stops, + const wxGraphicsMatrix& WXUNUSED(matrix)) { wxGraphicsBrush p; wxQtBrushData* d = new wxQtBrushData(this);