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 #ifdef M_BASEDIR
# include "gui/wxllist.h" # include "gui/wxllist.h"
# define SHOW_SELECTIONS 0 # define SHOW_SELECTIONS 1
#else #else
# include "wxllist.h" # include "wxllist.h"
# define SHOW_SELECTIONS 1 # define SHOW_SELECTIONS 1

View File

@@ -260,11 +260,10 @@ wxLayoutWindow::OnChar(wxKeyEvent& event)
case WXK_END: case WXK_END:
m_llist->MoveCursorToEndOfLine(); m_llist->MoveCursorToEndOfLine();
break; break;
case 'c': default:
if(event.ControlDown()) if(keyCode == 'c' && event.ControlDown())
Copy(); Copy();
break; break;
default:
if( IsEditable() ) if( IsEditable() )
{ {
/* First, handle control keys */ /* First, handle control keys */