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:
parent
56323b5aba
commit
f529dfaaef
2 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ public:
|
|||
explicit wxGraphicsPenInfo(const wxColour& colour = wxColour(),
|
||||
wxDouble width = 1.0,
|
||||
wxPenStyle style = wxPENSTYLE_SOLID)
|
||||
: wxPenInfoBase(colour, style)
|
||||
: wxPenInfoBase<wxGraphicsPenInfo>(colour, style)
|
||||
{
|
||||
m_width = width;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue