mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 15:32:35 +02:00
openglcontrol: fixed restoring canvas.handle at designtime
git-svn-id: trunk@14343 -
This commit is contained in:
parent
53648747fc
commit
9525beef2a
@ -264,6 +264,8 @@ begin
|
||||
LineTo(Self.Width,Self.Height);
|
||||
MoveTo(0,Self.Height);
|
||||
LineTo(Self.Width,0);
|
||||
if Message.DC <> 0 then
|
||||
Handle := 0;
|
||||
end;
|
||||
end else begin
|
||||
Paint;
|
||||
|
Loading…
Reference in New Issue
Block a user