-
- if ( wxThePenList )
- wxThePenList->AddPen(this);
-}
-
-wxPen::wxPen(const wxPen& pen)
-{
- Ref(pen);
- if ( wxThePenList )
- wxThePenList->AddPen(this);
-}
-
-wxPen::~wxPen()
-{
- if ( wxThePenList )
- wxThePenList->RemovePen(this);
-}
-
-wxPen& wxPen::operator = (const wxPen& pen)
-{
- if (*this == pen) return (*this);
- Ref(pen);
- return *this;