mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 08:32:07 +08:00
Now sends FL_HIDE/FL_SHOW events when window is iconized/un-iconized.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+2
-2
@@ -1124,7 +1124,7 @@ extern "C" {
|
||||
fl_lock_function();
|
||||
FLWindow *nsw = (FLWindow*)[notif object];
|
||||
Fl_Window *window = [nsw getFl_Window];
|
||||
window->set_visible();
|
||||
Fl::handle(FL_SHOW, window);
|
||||
update_e_xy_and_e_xy_root(nsw);
|
||||
fl_unlock_function();
|
||||
}
|
||||
@@ -1133,7 +1133,7 @@ extern "C" {
|
||||
fl_lock_function();
|
||||
FLWindow *nsw = (FLWindow*)[notif object];
|
||||
Fl_Window *window = [nsw getFl_Window];
|
||||
window->clear_visible();
|
||||
Fl::handle(FL_HIDE, window);
|
||||
fl_unlock_function();
|
||||
}
|
||||
- (void)windowWillClose:(NSNotification *)notif
|
||||
|
||||
Reference in New Issue
Block a user