From: Karsten Ballüder Date: Wed, 12 May 1999 14:53:04 +0000 (+0000) Subject: Missing "c" bug should be gone. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0a987d2dcd2813061ab332b3ebcdcd87f6a0a2af Missing "c" bug should be gone. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/user/wxLayout/wxllist.cpp b/user/wxLayout/wxllist.cpp index 373a92f5b9..b39029807a 100644 --- a/user/wxLayout/wxllist.cpp +++ b/user/wxLayout/wxllist.cpp @@ -24,7 +24,7 @@ #ifdef M_BASEDIR # include "gui/wxllist.h" -# define SHOW_SELECTIONS 0 +# define SHOW_SELECTIONS 1 #else # include "wxllist.h" # define SHOW_SELECTIONS 1 diff --git a/user/wxLayout/wxlwindow.cpp b/user/wxLayout/wxlwindow.cpp index ec312923ac..8902e04eff 100644 --- a/user/wxLayout/wxlwindow.cpp +++ b/user/wxLayout/wxlwindow.cpp @@ -260,11 +260,10 @@ wxLayoutWindow::OnChar(wxKeyEvent& event) case WXK_END: m_llist->MoveCursorToEndOfLine(); break; - case 'c': - if(event.ControlDown()) + default: + if(keyCode == 'c' && event.ControlDown()) Copy(); break; - default: if( IsEditable() ) { /* First, handle control keys */