From 60b62a6ce4f927b075f52aca6662ea9a3a9fb3d1 Mon Sep 17 00:00:00 2001 From: halw Date: Sun, 28 Dec 2008 14:08:19 +0000 Subject: [PATCH] Author:halw Date:2008-12-28T14:08:19.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@148 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../wel/wel-samples/hello-world.wiki | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/documentation/current/platform-specifics/microsoft-windows/wel/wel-samples/hello-world.wiki b/documentation/current/platform-specifics/microsoft-windows/wel/wel-samples/hello-world.wiki index 08d2691b..7d8eb76b 100644 --- a/documentation/current/platform-specifics/microsoft-windows/wel/wel-samples/hello-world.wiki +++ b/documentation/current/platform-specifics/microsoft-windows/wel/wel-samples/hello-world.wiki @@ -23,12 +23,12 @@ After you launch the sample, You should see a window displayed as illustrated ab MAIN_WINDOW inherits WEL_FRAME_WINDOW. In this example, we have redefined on_paint as shown below: -on_paint (paint_dc: WEL_PAINT_DC; invalid_rect: WEL_RECT) is - --Draw a centered text - is - paint_dc.draw_centered_text("Hello, World!", client_rect) - end - + on_paint (paint_dc: WEL_PAINT_DC; invalid_rect: WEL_RECT) + --Draw a centered text + do + paint_dc.draw_centered_text("Hello, World!", client_rect) + end + {{note|If you look at MAIN_WINDOW, you will see that it contains many features. However, nearly all of these are features are inherited from WEL_FRAME_WINDOW. }}