]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/toplevel.cpp
updated source to not use deprecated wxList methods
[wxWidgets.git] / src / mac / toplevel.cpp
index 66aadb583068f3c022a287dba0aabe1fbfb5b3cb..4db55381ad8d803456f266b6b1dda78752dbc4a6 100644 (file)
@@ -75,7 +75,7 @@ wxTopLevelWindowMac *wxFindWinFromMacWindow(WXWindow inWindowRef)
     wxNode *node = wxWinMacWindowList->Find((long)inWindowRef);
     if (!node)
         return NULL;
-    return (wxTopLevelWindowMac *)node->Data();
+    return (wxTopLevelWindowMac *)node->GetData();
 }
 
 void wxAssociateWinWithMacWindow(WXWindow inWindowRef, wxTopLevelWindowMac *win)