mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
+ destroy the win16 video unit window in DoneVideo
git-svn-id: trunk@37637 -
This commit is contained in:
parent
163ee92ef5
commit
87846323c2
@ -168,6 +168,12 @@ end;
|
||||
|
||||
procedure SysDoneVideo;
|
||||
begin
|
||||
if VideoWindow<>0 then
|
||||
begin
|
||||
if not DestroyWindow(VideoWindow) then
|
||||
MessageBox(0,'Error destroying window',nil,MB_OK or MB_ICONHAND or MB_TASKMODAL);
|
||||
VideoWindow:=0;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure SysUpdateScreen(Force: Boolean);
|
||||
|
Loading…
Reference in New Issue
Block a user