]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/treectrl.cpp
switching to safe yields, because we got into loops when handling print document...
[wxWidgets.git] / src / mac / carbon / treectrl.cpp
index 137a885dbfa7e32c9096f78376146fda7cffaf68..5a50bd157ddad65b69fb002cebedc6b906a75498 100644 (file)
@@ -14,6 +14,7 @@
 #endif
 
 #include "wx/stubs/textctrl.h"
+#include "wx/treebase.h"
 #include "wx/stubs/treectrl.h"
 
 #if !USE_SHARED_LIBRARY
@@ -122,7 +123,7 @@ long wxTreeCtrl::GetChild(long item) const
     return 0;
 }
 
-long wxTreeCtrl::GetParent(long item) const
+long wxTreeCtrl::GetItemParent(long item) const
 {
     // TODO
     return 0;