Use ctor-initializer for non-trivial members

This commit is contained in:
Paul Cornett 2017-09-12 09:51:53 -07:00
parent a357fefaf4
commit 85ea9c180d

View File

@ -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;
}