summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-16 00:10:38 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-16 00:10:38 +0200
commitbe24280b3f8d529c7caf00013928ffcc36d48a44 (patch)
treebfe340548d65e6b1651e4224cd83198803253cbc /src/corelib/x11
parent4ed02bb1d280adaf41871f78a940534bb293ddd2 (diff)
downloadfpGUI-be24280b3f8d529c7caf00013928ffcc36d48a44.tar.xz
x11: The constructor signature is now updated to match the parent class.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/fpg_x11.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/x11/fpg_x11.pas b/src/corelib/x11/fpg_x11.pas
index 4241c63f..a6e1c8c1 100644
--- a/src/corelib/x11/fpg_x11.pas
+++ b/src/corelib/x11/fpg_x11.pas
@@ -209,7 +209,7 @@ type
procedure DoDrawPolygon(Points: PPoint; NumPts: Integer; Winding: boolean=False); override;
property DCHandle: TfpgDCHandle read FDrawHandle;
public
- constructor Create; override;
+ constructor Create(awin: TfpgWindowBase); override;
destructor Destroy; override;
end;
@@ -2699,9 +2699,9 @@ end;
{ TfpgX11Canvas }
-constructor TfpgX11Canvas.Create;
+constructor TfpgX11Canvas.Create(awin: TfpgWindowBase);
begin
- inherited;
+ inherited Create(awin);
FDrawing := False;
FDrawWindow := nil;