diff options
| author | Manolo Gouy <Manolo> | 2015-11-15 10:45:59 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-11-15 10:45:59 +0000 |
| commit | ebffeb8edd9457dd7907846f0edc76964d2065f5 (patch) | |
| tree | 62f4b9eb87a2d60a568b8bf351ea575822009ea7 | |
| parent | ba26f2c1940d8f421bd1c607ee175382e52e0837 (diff) | |
Mac OS: Added necessary check because a non-FLTK window can be found
as child of an FLTK window when turning a window full-screen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index b021de133..f1157a551 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -715,7 +715,7 @@ void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data) NSEnumerator *enumerator = [[self childWindows] objectEnumerator]; id child; while ((child = [enumerator nextObject]) != nil) { - [child recursivelySendToSubwindows:sel]; + if ([child isKindOfClass:[FLWindow class]]) [child recursivelySendToSubwindows:sel]; } } |
