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
This commit is contained in:
@@ -1306,8 +1306,7 @@ void wxHtmlWindow::OnMouseLeave(wxMouseEvent& event)
|
|||||||
|
|
||||||
void wxHtmlWindow::OnKeyUp(wxKeyEvent& event)
|
void wxHtmlWindow::OnKeyUp(wxKeyEvent& event)
|
||||||
{
|
{
|
||||||
if ( IsSelectionEnabled() &&
|
if ( IsSelectionEnabled() && event.GetKeyCode() == 'C' && event.CmdDown() )
|
||||||
event.GetKeyCode() == 'C' && event.ControlDown() )
|
|
||||||
{
|
{
|
||||||
(void) CopySelection();
|
(void) CopySelection();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user