* PMGPI works now

This commit is contained in:
Tomas Hajny 1999-09-15 09:15:02 +00:00
parent 7289ef0622
commit 05abbae54b

View File

@ -1,7 +1,7 @@
program BasicPM; program BasicPM;
uses uses
Os2Def, PMWin; Os2Def, PMWin, PMGpi;
function ClientWindowProc (Window, Msg: cardinal; MP1, MP2: pointer): pointer; function ClientWindowProc (Window, Msg: cardinal; MP1, MP2: pointer): pointer;
cdecl; export; cdecl; export;
@ -16,7 +16,7 @@ begin
case Msg of case Msg of
wm_Paint: begin wm_Paint: begin
PS := WinBeginPaint(Window, 0, nil); PS := WinBeginPaint(Window, 0, nil);
{ GpiErase(PS);} GpiErase(PS);
WinEndPaint(PS); WinEndPaint(PS);
end; end;
else ClientWindowProc := WinDefWindowProc (Window, Msg, MP1, MP2); else ClientWindowProc := WinDefWindowProc (Window, Msg, MP1, MP2);