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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user