+wxPen::wxPen(const wxColour& colour, int width, wxBrushStyle style)
+{
+ m_refData = new wxPenRefData;
+
+ M_PENDATA->m_vColour = colour;
+ M_PENDATA->m_nWidth = width;
+ M_PENDATA->m_nStyle = (wxPenStyle)nStyle;
+ M_PENDATA->m_nJoin = wxJOIN_ROUND ;
+ M_PENDATA->m_nCap = wxCAP_ROUND ;
+ M_PENDATA->m_hPen = 0L;
+
+ RealizeResource();
+}
+