Removed m_clientData and related methods as it's now handled by the

wxClientDataContainer mixin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-12-03 18:17:43 +00:00
parent bb064193a7
commit 1dc302a8ae
3 changed files with 10 additions and 29 deletions

View File

@@ -288,7 +288,6 @@ wxShape::wxShape(wxShapeCanvas *can)
m_textColour = wxBLACK;
m_textColourName = "BLACK";
m_visible = FALSE;
m_clientData = NULL;
m_selected = FALSE;
m_attachmentMode = ATTACHMENT_MODE_NONE;
m_spaceAttachments = TRUE;
@@ -338,11 +337,6 @@ wxShape::~wxShape()
if (m_canvas)
m_canvas->RemoveShape(this);
if (m_clientData) {
delete m_clientData;
m_clientData = NULL;
}
GetEventHandler()->OnDelete();
}