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(); }