X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..fa2f5d3bc9563c2b88282d5487758572d8baffb3:/src/mac/treectrl.cpp diff --git a/src/mac/treectrl.cpp b/src/mac/treectrl.cpp index 3aea32e970..5a50bd157d 100644 --- a/src/mac/treectrl.cpp +++ b/src/mac/treectrl.cpp @@ -14,11 +14,14 @@ #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;