mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
get things working on mingw again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28925 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fc666eeb69
commit
0400de2215
2 changed files with 6 additions and 1 deletions
|
@ -562,7 +562,7 @@
|
|||
else
|
||||
{
|
||||
[image compositeToPoint: position
|
||||
operation: NSCompositeSourceOver];
|
||||
operation: NSCompositeSourceOver];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -883,10 +883,15 @@ withRepeatedImage: (NSImage*)image
|
|||
}
|
||||
else
|
||||
{
|
||||
#if 0
|
||||
/* This code raises an exception on windows (tested 30/10/2009) ... why? */
|
||||
images[i]
|
||||
= [[self extractImageFrom: image withRect: rects[i]] retain];
|
||||
rects[i].origin.x = 0;
|
||||
rects[i].origin.y = 0;
|
||||
#else
|
||||
images[i] = [image retain];
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue