X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cbc57f086cee690f397ac5622d3f1d7153b300e..8833e26cbdc7a8cbbc3b39177d6eac5a813555d2:/contrib/include/wx/fl/garbagec.h?ds=sidebyside diff --git a/contrib/include/wx/fl/garbagec.h b/contrib/include/wx/fl/garbagec.h index 1c70b6e84a..a80595daab 100644 --- a/contrib/include/wx/fl/garbagec.h +++ b/contrib/include/wx/fl/garbagec.h @@ -12,11 +12,12 @@ #ifndef __GARBAGEC_G__ #define __GARBAGEC_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "garbagec.h" #endif #include "wx/list.h" +#include "wx/fl/fldefs.h" struct GCItem { @@ -26,14 +27,14 @@ struct GCItem inline void* gc_node_to_obj( wxNode* 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;