ultimatepp/uppdev/PopUpCrash/main.cpp
cxl c75d2b6b97 .uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@3964 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-10-07 09:55:14 +00:00

24 lines
315 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
class TestPopup : public TopWindow
{
StaticRect r;
public:
typedef TestPopup CLASSNAME;
TestPopup();
};
TestPopup::TestPopup()
{
r.Color(Red());
r.SetRect(100, 100, 200, 200);
r.PopUp();
}
GUI_APP_MAIN
{
TestPopup().Run();
}