#ifndef __GARBAGEC_G__
#define __GARBAGEC_G__
-#ifdef __GNUG__
- #pragma interface "garbagec.h"
-#endif
-
#include "wx/list.h"
+#include "wx/fl/fldefs.h"
struct GCItem
{
wxList mRefs; // references to other nodes
};
-inline void* gc_node_to_obj( wxNode* pGCNode )
+inline void* gc_node_to_obj( wxObjectList::compatibility_iterator pGCNode )
{
- return ( (GCItem*) (pGCNode->Data()) )->mpObj;
+ return ( (GCItem*) (pGCNode->GetData()) )->mpObj;
}
/*
This class implements an extremely slow but simple garbage collection algorithm.
*/
-class GarbageCollector
+class WXDLLIMPEXP_FL GarbageCollector
{
protected:
wxList mAllNodes;