ultimatepp/uppdev/LayoutInh/main.cpp
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

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