From 8485ab5aee710ee59ab489fae2496e19323c887a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 1 Oct 2008 14:46:06 +0000 Subject: [PATCH] wxRTC now accepts keycodes generated using Alt, for example Polish Pro input on Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 3 ++- src/richtext/richtextctrl.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index b28f85a2b4..a230334f4f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -93,7 +93,8 @@ Major new features in 2.8 release All (GUI): -- Fixed wxHTML's pagebreaks computation in tables (D.J.Stauffer) +- Fixed wxHTML's pagebreaks computation in tables (D.J.Stauffer). +- Fixed wxRichTextCtrl input that uses Alt on Mac OS X, for example Polish Pro input. All (Unix): diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 0c6680f92e..d574109f03 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -983,7 +983,7 @@ void wxRichTextCtrl::OnChar(wxKeyEvent& event) default: { - if (event.CmdDown() || event.AltDown()) + if (event.CmdDown()) { event.Skip(); return;