LCL, grids, ignore WMKillFocus on destroying, patch by Anton, issue #27376

git-svn-id: trunk@48771 -
This commit is contained in:
jesus 2015-04-17 20:22:32 +00:00
parent e4ca357f5d
commit c4f943a994

View File

@ -4577,9 +4577,9 @@ end;
procedure TCustomGrid.WMKillFocus(var message: TLMKillFocus);
begin
if csDestroying in ComponentState then
exit;
{$ifdef dbgGrid}
if csDestroying in ComponentState then exit;
DbgOut('*** grid.WMKillFocus, FocusedWnd=%x WillFocus=',[Message.FocusedWnd]);
if EditorMode and (Message.FocusedWnd = FEditor.Handle) then
DebugLn('Editor')