mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 04:18:48 +02:00
lcl: TControlCanvas: simplify
git-svn-id: trunk@52495 -
This commit is contained in:
parent
dd7ec70032
commit
925bc15836
@ -99,9 +99,7 @@ begin
|
||||
else
|
||||
WinControl := FControl.Parent;
|
||||
WinControl.HandleNeeded;
|
||||
end;
|
||||
if FDeviceContext = 0 then
|
||||
begin
|
||||
|
||||
// store the handle locally since we need it to check (and do not
|
||||
// want to fire creation events)
|
||||
FDeviceContext := FControl.GetDeviceContext(FWindowHandle);
|
||||
|
Loading…
Reference in New Issue
Block a user