From a5231f307e4180d479b7a6102f37e02a1d45297e Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Sat, 23 Mar 2024 09:05:06 +0100 Subject: [PATCH] Fix --- test/cfg/wxwidgets.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp index a6b6739e5ad..690933d6e2d 100644 --- a/test/cfg/wxwidgets.cpp +++ b/test/cfg/wxwidgets.cpp @@ -51,18 +51,16 @@ void unusedVariable_wxPenList() wxPenList a; } -void unusedVariable_wxPen(const wxPenInfo &penInfo, const wxColour &colour, int width, const wxPenStyle style, const wxPen &pen) +void unusedVariable_wxPen(const wxColour &colour, int width, const wxPenStyle style, const wxPen &pen) { // cppcheck-suppress unusedVariable wxPen a; // cppcheck-suppress unreadVariable - wxPen b(penInfo); + wxPen b(colour, width); // cppcheck-suppress unreadVariable - wxPen c(colour, width); + wxPen c(colour, width, style); // cppcheck-suppress unreadVariable - wxPen d(colour, width, style); - // cppcheck-suppress unreadVariable - wxPen f(pen); + wxPen d(pen); } void unusedVariable_wxBrush(const wxColour &color, const wxBrushStyle style, const wxBitmap &bmp, const wxBrush &brush)