wxBitmapToPixPattern(stipple, &(M_PENDATA->m_pixPattern), NULL);
}
-wxPen::wxPen(const wxPen& pen)
-{
- Ref(pen);
-}
-
-wxPen& wxPen::operator = (const wxPen& pen)
-{
- if (*this == pen) return (*this);
- Ref(pen);
- return *this;
-}
-
bool wxPen::operator == (const wxPen& pen) const
{
return m_refData == pen.m_refData;
M_PENDATA->m_dash = (wxDash *)dash; /* TODO */
}
-void wxPen::SetColour(const unsigned char red, const unsigned char green, const unsigned char blue)
+void wxPen::SetColour(unsigned char red, unsigned char green, unsigned char blue)
{
AllocExclusive();
M_PENDATA->m_colour.Set(red, green, blue);