GraphicsUtils.m
changeset 7 59addced5e2a
parent 3 8fad19466c59
child 11 e5976864dfe9
     1.1 --- a/GraphicsUtils.m	Sun Apr 06 19:13:27 2008 -0700
     1.2 +++ b/GraphicsUtils.m	Fri May 02 12:49:43 2008 -0700
     1.3 @@ -222,7 +222,7 @@
     1.4      NSMutableArray *windows = $marray();
     1.5      for( NSWindow *window in [NSApp windows] ) {
     1.6          id delegate = window.delegate;
     1.7 -        if( (window.isVisible || window.isMiniaturized) && [delegate isKindOfClass: klass] ) 
     1.8 +        if( (window.isVisible || window.isMiniaturized) && (klass==nil || [delegate isKindOfClass: klass]) ) 
     1.9              [windows addObject: window];
    1.10      }
    1.11      return windows;