]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/fl/garbagec.h
[#1472076] Fixes after stock gdi changes within core library.
[wxWidgets.git] / contrib / include / wx / fl / garbagec.h
index 4ea0640e8e9d0e0c1470ec52aae26f1eb5e483ff..a3941962630cf08ff0c94dfaaaabb81b1a5004b3 100644 (file)
 #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;