projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new stream tests to typetest.
[wxWidgets.git]
/
src
/
mac
/
pen.cpp
diff --git
a/src/mac/pen.cpp
b/src/mac/pen.cpp
index 356fedcd6caab03dfac8da41a6201bd68b84f1e3..732889b467f7e8300b17e222840811b2ee248936 100644
(file)
--- a/
src/mac/pen.cpp
+++ b/
src/mac/pen.cpp
@@
-50,14
+50,10
@@
wxPenRefData::~wxPenRefData()
wxPen::wxPen()
{
wxPen::wxPen()
{
- if ( wxThePenList )
- wxThePenList->AddPen(this);
}
wxPen::~wxPen()
{
}
wxPen::~wxPen()
{
- if (wxThePenList)
- wxThePenList->RemovePen(this);
}
// Should implement Create
}
// Should implement Create
@@
-74,9
+70,6
@@
wxPen::wxPen(const wxColour& col, int Width, int Style)
M_PENDATA->m_dash = 0 ;
RealizeResource();
M_PENDATA->m_dash = 0 ;
RealizeResource();
-
- if ( wxThePenList )
- wxThePenList->AddPen(this);
}
wxPen::wxPen(const wxBitmap& stipple, int Width)
}
wxPen::wxPen(const wxBitmap& stipple, int Width)
@@
-92,9
+85,6
@@
wxPen::wxPen(const wxBitmap& stipple, int Width)
M_PENDATA->m_dash = 0 ;
RealizeResource();
M_PENDATA->m_dash = 0 ;
RealizeResource();
-
- if ( wxThePenList )
- wxThePenList->AddPen(this);
}
void wxPen::Unshare()
}
void wxPen::Unshare()