Use ctor-initializer for non-trivial members
This commit is contained in:
parent
a357fefaf4
commit
85ea9c180d
1 changed files with 1 additions and 2 deletions
|
|
@ -103,13 +103,12 @@ public:
|
|||
|
||||
protected:
|
||||
wxPenInfoBase(const wxColour& colour, wxPenStyle style)
|
||||
: m_colour(colour)
|
||||
{
|
||||
m_nb_dashes = 0;
|
||||
m_dash = NULL;
|
||||
m_join = wxJOIN_ROUND;
|
||||
m_cap = wxCAP_ROUND;
|
||||
|
||||
m_colour = colour;
|
||||
m_style = style;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue