X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7c6f947cf77ebfd11a860e7d07262e6de31e2a1..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/common/treebase.cpp?ds=sidebyside diff --git a/src/common/treebase.cpp b/src/common/treebase.cpp index d166c7d705..50a8c96f81 100644 --- a/src/common/treebase.cpp +++ b/src/common/treebase.cpp @@ -90,5 +90,14 @@ wxTreeEvent::wxTreeEvent(const wxTreeEvent & event) m_editCancelled = event.m_editCancelled; } +#if WXWIN_COMPATIBILITY_2_2 + +int wxTreeEvent::GetCode() const +{ + return m_evtKey.GetKeyCode(); +} + +#endif // WXWIN_COMPATIBILITY_2_2 + #endif // wxUSE_TREECTRL