]> git.saurik.com Git - wxWidgets.git/commitdiff
Change needed for when the COMPATIBILITY flags are off.
authorRobin Dunn <robin@alldunn.com>
Wed, 11 Sep 2002 01:08:02 +0000 (01:08 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 11 Sep 2002 01:08:02 +0000 (01:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/listctrl/listtest.cpp

index 0a1211b9fd3e092b85110f3db9c3dd97d3176a5e..9d81a24486d52b7e1817490201b62bdf917dc158 100644 (file)
@@ -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':