Missing "c" bug should be gone.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1999-05-12 14:53:04 +00:00
parent 2184b1a53d
commit 0a987d2dcd
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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 */