From abe64011cd00b0e9d7fd20b2c66cbd48636c4f75 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 18 Jan 2006 16:47:42 +0000 Subject: [PATCH] use Cmd-C under Mac to copy text, not Ctrl-C git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 353f589c3a..7654b4b862 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -1306,8 +1306,7 @@ void wxHtmlWindow::OnMouseLeave(wxMouseEvent& event) void wxHtmlWindow::OnKeyUp(wxKeyEvent& event) { - if ( IsSelectionEnabled() && - event.GetKeyCode() == 'C' && event.ControlDown() ) + if ( IsSelectionEnabled() && event.GetKeyCode() == 'C' && event.CmdDown() ) { (void) CopySelection(); } -- 2.45.2