From: Vadim Zeitlin Date: Wed, 18 Jan 2006 16:47:42 +0000 (+0000) Subject: use Cmd-C under Mac to copy text, not Ctrl-C X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/abe64011cd00b0e9d7fd20b2c66cbd48636c4f75 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 --- 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(); }