M_PENDATA->m_width = width;
M_PENDATA->m_style = style;
M_PENDATA->m_colour = colour;
+
if (wxThePenList) wxThePenList->AddPen( this );
}
M_PENDATA->m_width = width;
M_PENDATA->m_style = style;
M_PENDATA->m_colour = colourName;
+
if (wxThePenList) wxThePenList->AddPen( this );
}
{
UnRef();
if (pen) Ref( *pen );
+
if (wxThePenList) wxThePenList->AddPen( this );
}