Added comments

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-03-07 21:10:22 +00:00
parent b3053fadef
commit 83e3e52e34

View file

@ -256,6 +256,13 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
{
NSMutableArray *views;
/*
* We MUST make sure that coordinates are invalidated even if we have
* no superview - cos they may have been rebuilt since we lost the
* superview and the fact that this method has been invoked probably
* means we are about to be placed in a new view where the coordinate
* system will be different.
*/
if (coordinates_valid)
(*invalidateImp)(self, invalidateSel);
@ -275,6 +282,13 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
NSMutableArray *views;
NSWindow *win;
/*
* We MUST make sure that coordinates are invalidated even if we have
* no superview - cos they may have been rebuilt since we lost the
* superview and the fact that this method has been invoked probably
* means we are about to be placed in a new view where the coordinate
* system will be different.
*/
if (coordinates_valid)
(*invalidateImp)(self, invalidateSel);