From: Robin Dunn Date: Wed, 11 Sep 2002 01:08:02 +0000 (+0000) Subject: Change needed for when the COMPATIBILITY flags are off. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2936eaf046b87eaf707c728a06abc20581fb0043?ds=inline 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 --- 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':