X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d275c7eb8420c81e97a8b308c60c27d9856b58f9..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/msw/pen.cpp diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index e15f066eda..599d747603 100644 --- a/src/msw/pen.cpp +++ b/src/msw/pen.cpp @@ -67,14 +67,10 @@ wxPenRefData::~wxPenRefData() wxPen::wxPen() { - if (wxThePenList) - wxThePenList->AddPen(this); } wxPen::~wxPen() { - if (wxThePenList) - wxThePenList->RemovePen(this); } // Should implement Create @@ -117,8 +113,6 @@ wxPen::wxPen(const wxColour& col, int Width, int Style) #endif RealizeResource(); - if ( wxThePenList ) - wxThePenList->AddPen(this); } wxPen::wxPen(const wxBitmap& stipple, int Width) @@ -137,8 +131,6 @@ wxPen::wxPen(const wxBitmap& stipple, int Width) RealizeResource(); - if (wxThePenList) - wxThePenList->AddPen(this); } bool wxPen::RealizeResource()