mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-21 13:48:17 +02:00
parent
18a6999481
commit
3fc488b817
@ -1510,6 +1510,10 @@ Begin
|
|||||||
and (WindowInfo <> @DefaultWindowInfo)
|
and (WindowInfo <> @DefaultWindowInfo)
|
||||||
and (PLMsg^.Result <> 0) then
|
and (PLMsg^.Result <> 0) then
|
||||||
WindowInfo^.ignoreNextChar := true;
|
WindowInfo^.ignoreNextChar := true;
|
||||||
|
// stop ignoring if KEYUP has come by (not all keys generate CHAR)
|
||||||
|
if ((Msg = WM_KEYUP) or (Msg = WM_SYSKEYUP))
|
||||||
|
and (WindowInfo <> @DefaultWindowInfo) then
|
||||||
|
WindowInfo^.ignoreNextChar := false;
|
||||||
|
|
||||||
{ LMMouseEvent and LMInsertText have no Result field }
|
{ LMMouseEvent and LMInsertText have no Result field }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user