X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7c6f947cf77ebfd11a860e7d07262e6de31e2a1..1aaf88d2208793f6a05f02c3e23ade668555d31e:/src/common/treebase.cpp 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