OS X QuitAppleEvent now correctly exits Fl::run() instead of just

exiting.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3047 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2003-07-18 03:12:05 +00:00
parent 6293dd5558
commit 8aa95bcd96
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,5 +1,9 @@
CHANGES IN FLTK 1.1.4 CHANGES IN FLTK 1.1.4
- QuitAppleEvent now correctly returns from Fl::run()
instead of just exiting.
- Hiding the first created OpenGL context was not
possible. FLTK now manages a list of contexts.
- FLUID didn't keep the double/single buffer type for - FLUID didn't keep the double/single buffer type for
windows. windows.
- FLTK didn't work with Xft2. - FLTK didn't work with Xft2.
+3 -3
View File
@@ -1,5 +1,5 @@
// //
// "$Id: Fl_mac.cxx,v 1.1.2.48 2003/06/15 06:10:54 easysw Exp $" // "$Id: Fl_mac.cxx,v 1.1.2.49 2003/07/18 03:12:05 matthiaswm Exp $"
// //
// MacOS specific code for the Fast Light Tool Kit (FLTK). // MacOS specific code for the Fast Light Tool Kit (FLTK).
// //
@@ -640,7 +640,7 @@ static OSErr QuitAppleEventHandler( const AppleEvent *appleEvt, AppleEvent* repl
return noErr; // FLTK has not close all windows, so we return to the main program now return noErr; // FLTK has not close all windows, so we return to the main program now
} }
} }
ExitToShell(); QuitApplicationEventLoop();
fl_unlock_function(); fl_unlock_function();
@@ -1867,6 +1867,6 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) {
// //
// End of "$Id: Fl_mac.cxx,v 1.1.2.48 2003/06/15 06:10:54 easysw Exp $". // End of "$Id: Fl_mac.cxx,v 1.1.2.49 2003/07/18 03:12:05 matthiaswm Exp $".
// //