openglcontrol: fixed restoring canvas.handle at designtime

git-svn-id: trunk@14343 -
This commit is contained in:
mattias 2008-03-01 12:59:04 +00:00
parent 53648747fc
commit 9525beef2a

View File

@ -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;