X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8495ba53688a1d5de6cecffdd1a0e783f8b43a00..ce3e37f1ec132626ff2c75de8aa7c8b0b25aae11:/contrib/include/wx/fl/garbagec.h diff --git a/contrib/include/wx/fl/garbagec.h b/contrib/include/wx/fl/garbagec.h index 4ea0640e8e..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,7 +21,7 @@ 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->GetData()) )->mpObj; } @@ -34,7 +30,7 @@ inline void* gc_node_to_obj( wxNode* pGCNode ) This class implements an extremely slow but simple garbage collection algorithm. */ -class WXFL_DECLSPEC GarbageCollector +class WXDLLIMPEXP_FL GarbageCollector { protected: wxList mAllNodes;