}
wxPenRefData::wxPenRefData(const wxPenRefData& data)
+ : wxGDIRefData()
{
m_style = data.m_style;
m_width = data.m_width;
wxPen::wxPen()
{
- if ( wxThePenList )
- wxThePenList->AddPen(this);
}
wxPen::~wxPen()
{
- if (wxThePenList)
- wxThePenList->RemovePen(this);
}
// Should implement Create
M_PENDATA->m_dash = 0 ;
RealizeResource();
-
- if ( wxThePenList )
- wxThePenList->AddPen(this);
}
wxPen::wxPen(const wxBitmap& stipple, int Width)
M_PENDATA->m_dash = 0 ;
RealizeResource();
-
- if ( wxThePenList )
- wxThePenList->AddPen(this);
}
void wxPen::Unshare()