mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
24 lines
467 B
C++
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
|