From f529dfaaef06e76676c2e3321096ec66fc3531a2 Mon Sep 17 00:00:00 2001 From: Lauri Nurmi Date: Sun, 5 Nov 2017 17:42:20 +0200 Subject: [PATCH] Fix wxPenInfo ctor compilation with gcc 4.4.7 on CentOS 6 Use template argument when calling the base template class ctor. --- include/wx/graphics.h | 2 +- include/wx/pen.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 7cbe1bc52f..9141d39450 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -143,7 +143,7 @@ public: explicit wxGraphicsPenInfo(const wxColour& colour = wxColour(), wxDouble width = 1.0, wxPenStyle style = wxPENSTYLE_SOLID) - : wxPenInfoBase(colour, style) + : wxPenInfoBase(colour, style) { m_width = width; } diff --git a/include/wx/pen.h b/include/wx/pen.h index 9ebddc3b6d..a8a7754304 100644 --- a/include/wx/pen.h +++ b/include/wx/pen.h @@ -24,7 +24,7 @@ public: explicit wxPenInfo(const wxColour& colour = wxColour(), int width = 1, wxPenStyle style = wxPENSTYLE_SOLID) - : wxPenInfoBase(colour, style) + : wxPenInfoBase(colour, style) { m_width = width; }