]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/fl/garbagec.h
updated code to not use deprecated methods
[wxWidgets.git] / contrib / include / wx / fl / garbagec.h
index 652854fc018f4f72eb0736f48b3be3138977fbb5..4ea0640e8e9d0e0c1470ec52aae26f1eb5e483ff 100644 (file)
@@ -27,7 +27,7 @@ struct GCItem
 
 inline void* gc_node_to_obj( wxNode* pGCNode )
 {
-    return ( (GCItem*) (pGCNode->Data()) )->mpObj;
+    return ( (GCItem*) (pGCNode->GetData()) )->mpObj;
 }
 
 /*