Cleanup and surround code with defines for later reuse

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38980 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2015-09-10 18:12:10 +00:00
parent 7b1427bcf6
commit d3da9b523e

View file

@ -2617,8 +2617,7 @@ static void autoresize(CGFloat oldContainerSize,
[self drawRect: aRect];
[self unlockFocusNeedsFlush: flush];
#if !defined(USE_INVALID_RECT_CLEANUP)
if (_rFlags.has_subviews == YES)
_rFlags.needs_display = NO;
_rFlags.needs_display = NO;
#endif
}