Fix wxPenInfo ctor compilation with gcc 4.4.7 on CentOS 6
Use template argument when calling the base template class ctor.
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
||||
explicit wxPenInfo(const wxColour& colour = wxColour(),
|
||||
int width = 1,
|
||||
wxPenStyle style = wxPENSTYLE_SOLID)
|
||||
: wxPenInfoBase(colour, style)
|
||||
: wxPenInfoBase<wxPenInfo>(colour, style)
|
||||
{
|
||||
m_width = width;
|
||||
}
|
||||
|
Reference in New Issue
Block a user