X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63b1cb8227e6ced34de6862e45333b1c5a7e8346..15d9a04c6877a2f730b679402e6798aaace16e3a:/wxPython/contrib/gizmos/treelistctrl.cpp diff --git a/wxPython/contrib/gizmos/treelistctrl.cpp b/wxPython/contrib/gizmos/treelistctrl.cpp index a559d95415..b14bb3b961 100644 --- a/wxPython/contrib/gizmos/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/treelistctrl.cpp @@ -3540,7 +3540,7 @@ void wxTreeListMainWindow::OnChar( wxKeyEvent &event ) // right : open if parent and go next (or expand on Win32) // home : go to root // end : go to last item without opening parents - switch (event.KeyCode()) + switch (event.GetKeyCode()) { #ifndef __WXMSW__ // mimic the standard win32 tree ctrl case '+':