(blind) compilation fix for wxQtGraphicsRenderer gradient brush methods

This commit is contained in:
Robin Dunn
2019-08-27 13:54:26 -07:00
committed by Robin Dunn
parent 30dfe45759
commit c79085b54d

View File

@@ -1137,13 +1137,15 @@ public:
virtual wxGraphicsBrush virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble x1, wxDouble y1, CreateLinearGradientBrush(wxDouble x1, wxDouble y1,
wxDouble x2, wxDouble y2, wxDouble x2, wxDouble y2,
const wxGraphicsGradientStops& stops) wxOVERRIDE; const wxGraphicsGradientStops& stops,
const wxGraphicsMatrix& matrix=wxNullGraphicsMatrix) wxOVERRIDE;
virtual wxGraphicsBrush virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble xo, wxDouble yo, CreateRadialGradientBrush(wxDouble xo, wxDouble yo,
wxDouble xc, wxDouble yc, wxDouble xc, wxDouble yc,
wxDouble radius, wxDouble radius,
const wxGraphicsGradientStops& stops) wxOVERRIDE; const wxGraphicsGradientStops& stops,
const wxGraphicsMatrix& matrix=wxNullGraphicsMatrix) wxOVERRIDE;
// sets the font // sets the font
virtual wxGraphicsFont CreateFont(const wxFont& font, virtual wxGraphicsFont CreateFont(const wxFont& font,
@@ -1274,7 +1276,8 @@ wxGraphicsBrush wxQtGraphicsRenderer::CreateBrush(const wxBrush& brush)
wxGraphicsBrush wxQtGraphicsRenderer::CreateLinearGradientBrush( wxGraphicsBrush wxQtGraphicsRenderer::CreateLinearGradientBrush(
wxDouble x1, wxDouble y1, wxDouble x1, wxDouble y1,
wxDouble x2, wxDouble y2, wxDouble x2, wxDouble y2,
const wxGraphicsGradientStops& stops) const wxGraphicsGradientStops& stops,
const wxGraphicsMatrix& WXUNUSED(matrix))
{ {
wxGraphicsBrush p; wxGraphicsBrush p;
wxQtBrushData* d = new wxQtBrushData(this); wxQtBrushData* d = new wxQtBrushData(this);
@@ -1286,7 +1289,8 @@ wxGraphicsBrush wxQtGraphicsRenderer::CreateLinearGradientBrush(
wxGraphicsBrush wxQtGraphicsRenderer::CreateRadialGradientBrush( wxGraphicsBrush wxQtGraphicsRenderer::CreateRadialGradientBrush(
wxDouble xo, wxDouble yo, wxDouble xo, wxDouble yo,
wxDouble xc, wxDouble yc, wxDouble r, wxDouble xc, wxDouble yc, wxDouble r,
const wxGraphicsGradientStops& stops) const wxGraphicsGradientStops& stops,
const wxGraphicsMatrix& WXUNUSED(matrix))
{ {
wxGraphicsBrush p; wxGraphicsBrush p;
wxQtBrushData* d = new wxQtBrushData(this); wxQtBrushData* d = new wxQtBrushData(this);