compilation fixes - wxGTK compiles but not links

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-06-26 21:29:16 +00:00
parent 21aeca5e54
commit 29149a6491
13 changed files with 80 additions and 165 deletions

View File

@@ -87,6 +87,7 @@ wxRegionRefData::wxRegionRefData(const wxRegionRefData& refData)
m_region = regCopy;
#endif
#if OLDCODE
wxNode *node = refData.m_rects.First();
while (node)
{
@@ -94,6 +95,7 @@ wxRegionRefData::wxRegionRefData(const wxRegionRefData& refData)
m_rects.Append( (wxObject*) new wxRect(*r) );
node = node->Next();
}
#endif
}
wxRegionRefData::~wxRegionRefData()
@@ -117,8 +119,6 @@ wxRegionRefData::~wxRegionRefData()
#define M_REGIONDATA ((wxRegionRefData *)m_refData)
IMPLEMENT_DYNAMIC_CLASS(wxRegion,wxGDIObject);
wxRegion::wxRegion()
{
}
@@ -566,8 +566,6 @@ wxList *wxRegion::GetRectList() const
#if OLDCODE
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator,wxObject);
wxRegionIterator::wxRegionIterator()
{
Reset();
@@ -701,8 +699,6 @@ void wxRIRefData::CreateRects( const wxRegion& region )
}
}
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator,wxObject);
wxRegionIterator::wxRegionIterator()
{
m_refData = new wxRIRefData();