]> 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 3aea32e970e95e791b783448a9c81f198ab64193..5a50bd157ddad65b69fb002cebedc6b906a75498 100644 (file)
 #endif
 
 #include "wx/stubs/textctrl.h"
+#include "wx/treebase.h"
 #include "wx/stubs/treectrl.h"
 
+#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
 IMPLEMENT_DYNAMIC_CLASS(wxTreeItem, wxObject)
 
+#endif
 
 wxTreeCtrl::wxTreeCtrl()
 {
@@ -120,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;