mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Tutorial: align Gui16 (Layout) with CtrlLib documentation.
git-svn-id: svn://ultimatepp.org/upp/trunk@15480 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
090cd00083
commit
e7ef687a32
1 changed files with 3 additions and 3 deletions
|
|
@ -5,13 +5,13 @@ using namespace Upp;
|
|||
#define LAYOUTFILE <Gui16/dlg.lay>
|
||||
#include <CtrlCore/lay.h>
|
||||
|
||||
struct MyApp : public WithDlgLayout<TopWindow> {
|
||||
MyApp() {
|
||||
struct MyAppWindow : public WithDlgLayout<TopWindow> {
|
||||
MyAppWindow() {
|
||||
CtrlLayout(*this, "MyDialog");
|
||||
}
|
||||
};
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
MyApp().Run();
|
||||
MyAppWindow().Run();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue