X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..3c57bda5451d31315de797a285b9547693143316:/contrib/include/wx/fl/garbagec.h?ds=inline diff --git a/contrib/include/wx/fl/garbagec.h b/contrib/include/wx/fl/garbagec.h index 652854fc01..a394196263 100644 --- a/contrib/include/wx/fl/garbagec.h +++ b/contrib/include/wx/fl/garbagec.h @@ -12,10 +12,6 @@ #ifndef __GARBAGEC_G__ #define __GARBAGEC_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "garbagec.h" -#endif - #include "wx/list.h" #include "wx/fl/fldefs.h" @@ -25,16 +21,16 @@ 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 WXFL_DECLSPEC GarbageCollector +class WXDLLIMPEXP_FL GarbageCollector { protected: wxList mAllNodes;