ultimatepp/uppdev/TestUpp/TestUpp.h
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

24 lines
467 B
C++

#ifndef _TestUpp_TestUpp_h
#define _TestUpp_TestUpp_h
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
class DocEditEx : public DocEdit
{
virtual bool Key(dword key, int count) {
return DocEdit::Key(key < 65536 ? ToUpper((wchar)key) : key, count);
}
};
#define LAYOUTFILE <TestUpp/TestUpp.lay>
#include <CtrlCore/lay.h>
class TestUpp : public WithTestUppLayout<TopWindow> {
public:
typedef TestUpp CLASSNAME;
TestUpp();
};
#endif