From 2936eaf046b87eaf707c728a06abc20581fb0043 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 11 Sep 2002 01:08:02 +0000 Subject: [PATCH] Change needed for when the COMPATIBILITY flags are off. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/listctrl/listtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index 0a1211b9fd..9d81a24486 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -782,7 +782,7 @@ void MyListCtrl::OnFocused(wxListEvent& event) void MyListCtrl::OnListKeyDown(wxListEvent& event) { - switch ( event.GetCode() ) + switch ( event.GetKeyCode() ) { case 'c': // colorize case 'C': -- 2.45.2