mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
21 lines
331 B
C++
21 lines
331 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
struct App : public TopWindow
|
|
{
|
|
TreeCtrl tree;
|
|
ArrayCtrl array;
|
|
Splitter splitter;
|
|
|
|
App()
|
|
{
|
|
splitter.Horz(tree, array);
|
|
Add(splitter);
|
|
splitter.SetPos(1500); // << SetPos seems to be guilty of the crashes.
|
|
Sizeable().Zoomable();
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
App().Run();
|
|
}
|