ultimatepp/upptst/WMF/main.cpp
cxl 2f294d966b upptst: DropGridTst
git-svn-id: svn://ultimatepp.org/upp/trunk@1172 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-14 06:37:41 +00:00

22 lines
343 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
struct App : public TopWindow {
String hw;
Drawing dw1;
void Paint(Draw& w) {
Size sz = GetSize();
w.DrawRect(sz, White());
Drawing iw = LoadWMF("U:/germany.wmf");
w.DrawDrawing(GetSize(), iw);
}
App() { Sizeable(); }
};
GUI_APP_MAIN
{
App().Run();
}