DPS Update

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5501 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1999-12-13 22:14:54 +00:00
parent 8b5f92c7cd
commit 647e29924b

View file

@ -1784,16 +1784,17 @@ resetCursorRectsForView(NSView *theView)
- (void) _processResizeEvent
{
NSGraphicsContext* context = GSCurrentContext();
if (gstate)
{
NSGraphicsContext* context = GSCurrentContext();
DPSgsave(context);
DPSsetgstate(context, gstate);
DPSupdatewindow(context, window_num);
DPScurrentgstate(context, gstate);
DPSpop(context);
DPSgrestore(context);
}
DPSupdatewindow(context, window_num);
if (gstate)
DPSgrestore(context);
[self update];
}