win32: DoWindowProc: lWinControl <> nil check. Fixues issue #39553

This commit is contained in:
Ondrej Pokorny 2022-01-17 11:02:29 +01:00
parent 0a0b688587
commit d74a3b34c5

View File

@ -2188,6 +2188,7 @@ begin
end;
// no specific message found? try send a general msg
if lWinControl <> nil then
lWinControl.Perform(CN_COMMAND, WParam, LParam);
end;