mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
38 lines
507 B
C++
38 lines
507 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#define LAYOUTFILE <LayoutInh/lay.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
class DlgBase : public WithBase<TopWindow> {
|
|
public:
|
|
|
|
typedef DlgBase CLASSNAME;
|
|
|
|
DlgBase();
|
|
};
|
|
|
|
DlgBase::DlgBase()
|
|
{
|
|
CtrlLayoutOK(*this, "");
|
|
}
|
|
|
|
class DlgDerived : public WithDerived<DlgBase> {
|
|
public:
|
|
|
|
typedef DlgDerived CLASSNAME;
|
|
|
|
DlgDerived();
|
|
};
|
|
|
|
DlgDerived::DlgDerived()
|
|
{
|
|
CtrlLayout(*this, "");
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
DlgDerived().Run();
|
|
}
|
|
|