summaryrefslogtreecommitdiff
path: root/examples/gfx/helloworld/helloworld.pas
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gfx/helloworld/helloworld.pas')
-rw-r--r--examples/gfx/helloworld/helloworld.pas11
1 files changed, 3 insertions, 8 deletions
diff --git a/examples/gfx/helloworld/helloworld.pas b/examples/gfx/helloworld/helloworld.pas
index fa7d93ce..50504a95 100644
--- a/examples/gfx/helloworld/helloworld.pas
+++ b/examples/gfx/helloworld/helloworld.pas
@@ -90,15 +90,10 @@ end;
var
MainWindow: TMainWindow;
begin
- gApplication.Initialize;
-
+ GFApplication.Initialize;
MainWindow := TMainWindow.Create;
-
- gApplication.AddWindow(MainWindow);
-
+ GFApplication.AddWindow(MainWindow);
MainWindow.Show;
-
- gApplication.Run;
+ GFApplication.Run;
end.
-