From 206939d343826dfbe7e39189dbcbfc61840aa6fe Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Wed, 11 Jul 2007 11:27:12 +0000 Subject: Removed Rect parameter from Paint event --- gfx/gdi/gfx_gdi.pas | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gfx/gdi') diff --git a/gfx/gdi/gfx_gdi.pas b/gfx/gdi/gfx_gdi.pas index 34179a40..eeb1c34d 100644 --- a/gfx/gdi/gfx_gdi.pas +++ b/gfx/gdi/gfx_gdi.pas @@ -201,7 +201,6 @@ type procedure CaptureMouse; override; procedure ReleaseMouse; override; { Event processing methods } -// procedure ProcessEvent(AEvent: TFEvent); override; procedure EvCreate; override; procedure EvFocusIn; override; procedure EvFocusOut; override; @@ -1625,11 +1624,8 @@ begin end; procedure TGDIWindow.EvPaint; -var - r: TRect; begin - if Assigned(OnPaint) then - OnPaint(Self, r); + if Assigned(OnPaint) then OnPaint(Self); end; procedure TGDIWindow.EvMove; -- cgit v1.2.3-70-g09d2