Some SystemDraw fixes, fixed another reason for key lag in theide

git-svn-id: svn://ultimatepp.org/upp/trunk@1160 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-05-12 07:43:36 +00:00
parent 6118f68704
commit dfe15080d7
11 changed files with 30 additions and 12 deletions

View file

@ -84,8 +84,13 @@ void QtfParser::Picture(int type) {
name.Cat(*term++);
if(type == 0) {
#ifdef PLATFORM_WIN32
#ifdef SYSTEMDRAW
Drawing iw = LoadWMF(GetExeDirFile(name));
if(!iw) iw = LoadWMF(name);
#else
Drawing iw = Drawing::LoadWMF(GetExeDirFile(name));
if(!iw) iw = Drawing::LoadWMF(name);
#endif
if(iw) Par().Cat(PaintRect(DrawingDisplay(), iw), cx, cy, state.value);
#endif
}