summaryrefslogtreecommitdiff
path: root/gfx/gdi
diff options
context:
space:
mode:
authorsekelsenmat <sekelsenmat@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-11 11:27:12 +0000
committersekelsenmat <sekelsenmat@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-11 11:27:12 +0000
commit206939d343826dfbe7e39189dbcbfc61840aa6fe (patch)
tree4b548b48aff5e59bac75363172dee53c737439f7 /gfx/gdi
parent6d1c5274aacdf55d21b98a7e61b2d3a100fbd9eb (diff)
downloadfpGUI-206939d343826dfbe7e39189dbcbfc61840aa6fe.tar.xz
Removed Rect parameter from Paint event
Diffstat (limited to 'gfx/gdi')
-rw-r--r--gfx/gdi/gfx_gdi.pas6
1 files changed, 1 insertions, 5 deletions
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;