From e7ef687a32f2c6c5d2126bc00c2f7468e7550b9c Mon Sep 17 00:00:00 2001 From: klugier Date: Sat, 21 Nov 2020 22:10:48 +0000 Subject: [PATCH] Tutorial: align Gui16 (Layout) with CtrlLib documentation. git-svn-id: svn://ultimatepp.org/upp/trunk@15480 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- tutorial/Gui16/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorial/Gui16/main.cpp b/tutorial/Gui16/main.cpp index 400e3b779..cefa6174a 100644 --- a/tutorial/Gui16/main.cpp +++ b/tutorial/Gui16/main.cpp @@ -5,13 +5,13 @@ using namespace Upp; #define LAYOUTFILE #include -struct MyApp : public WithDlgLayout { - MyApp() { +struct MyAppWindow : public WithDlgLayout { + MyAppWindow() { CtrlLayout(*this, "MyDialog"); } }; GUI_APP_MAIN { - MyApp().Run(); + MyAppWindow().Run(); }