X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..fe164c3e2ea5453896cd63a5440a26365daec1bc:/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 '+':