mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 06:59:14 +02:00
LCL, grids, ignore WMKillFocus on destroying, patch by Anton, issue #27376
git-svn-id: trunk@48771 -
This commit is contained in:
parent
e4ca357f5d
commit
c4f943a994
@ -4577,9 +4577,9 @@ end;
|
|||||||
|
|
||||||
procedure TCustomGrid.WMKillFocus(var message: TLMKillFocus);
|
procedure TCustomGrid.WMKillFocus(var message: TLMKillFocus);
|
||||||
begin
|
begin
|
||||||
|
if csDestroying in ComponentState then
|
||||||
|
exit;
|
||||||
{$ifdef dbgGrid}
|
{$ifdef dbgGrid}
|
||||||
if csDestroying in ComponentState then exit;
|
|
||||||
|
|
||||||
DbgOut('*** grid.WMKillFocus, FocusedWnd=%x WillFocus=',[Message.FocusedWnd]);
|
DbgOut('*** grid.WMKillFocus, FocusedWnd=%x WillFocus=',[Message.FocusedWnd]);
|
||||||
if EditorMode and (Message.FocusedWnd = FEditor.Handle) then
|
if EditorMode and (Message.FocusedWnd = FEditor.Handle) then
|
||||||
DebugLn('Editor')
|
DebugLn('Editor')
|
||||||
|
Loading…
Reference in New Issue
Block a user