projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed focus assert
[wxWidgets.git]
/
src
/
stc
/
stc.cpp
diff --git
a/src/stc/stc.cpp
b/src/stc/stc.cpp
index 9e417842af43021098ad4169cb9f630ee5adfc99..f56024c0cacdaa9af606b309b0a3b97e5f1453ca 100644
(file)
--- a/
src/stc/stc.cpp
+++ b/
src/stc/stc.cpp
@@
-1854,7
+1854,7
@@
void wxStyledTextCtrl::OnChar(wxKeyEvent& evt) {
// alt let's skip it.
bool ctrl = evt.ControlDown();
bool alt = evt.AltDown();
// alt let's skip it.
bool ctrl = evt.ControlDown();
bool alt = evt.AltDown();
- bool skip = (
ctrl || alt
&& ! (ctrl && alt));
+ bool skip = (
(ctrl || alt)
&& ! (ctrl && alt));
if (key <= 0xff && !iscntrl(key) && !m_lastKeyDownConsumed && !skip) {
m_swx->DoAddChar(key);
if (key <= 0xff && !iscntrl(key) && !m_lastKeyDownConsumed && !skip) {
m_swx->DoAddChar(key);