From c4d9fc3947e52bc49d360ee5b970d9e2622c2c7c Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 7 Apr 2006 18:59:51 +0000 Subject: [PATCH] applied patch 1466370 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/textctrl.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index b536e37c44..8657a5c792 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -876,6 +876,13 @@ void wxTextCtrl::OnChar(wxKeyEvent& event) int key = event.GetKeyCode() ; bool eat_key = false ; + if ( key == 'a' && event.MetaDown() ) + { + SelectAll() ; + + return ; + } + if ( key == 'c' && event.MetaDown() ) { if ( CanCopy() ) -- 2.45.2