Ver Fonte

* PMGPI works now

Tomas Hajny há 26 anos atrás
pai
commit
05abbae54b
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      rtl/os2/tests/basicpm.pas

+ 2 - 2
rtl/os2/tests/basicpm.pas

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