]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/fl/garbagec.h
don't draw focus rect for custom drawn items when the list control doesn't have focus
[wxWidgets.git] / contrib / include / wx / fl / garbagec.h
index 652854fc018f4f72eb0736f48b3be3138977fbb5..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,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;