LCL: call TCustomEdit.Change even if no handle is allocated

git-svn-id: trunk@21801 -
This commit is contained in:
mattias 2009-09-21 12:36:07 +00:00
parent 953f2f79df
commit 4d4b4bb80e

View File

@ -472,7 +472,7 @@ begin
if not (wcfCreatingHandle in FWinControlFlags) then
begin
Modified := True;
if HandleAllocated then
if ([csLoading,csDestroying]*ComponentState=[]) then
Change;
end;
end;