mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 19:39:28 +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);
|
LineTo(Self.Width,Self.Height);
|
||||||
MoveTo(0,Self.Height);
|
MoveTo(0,Self.Height);
|
||||||
LineTo(Self.Width,0);
|
LineTo(Self.Width,0);
|
||||||
|
if Message.DC <> 0 then
|
||||||
|
Handle := 0;
|
||||||
end;
|
end;
|
||||||
end else begin
|
end else begin
|
||||||
Paint;
|
Paint;
|
||||||
|
Loading…
Reference in New Issue
Block a user