summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2003-07-18 03:12:05 +0000
committerMatthias Melcher <fltk@matthiasm.com>2003-07-18 03:12:05 +0000
commit8aa95bcd966d0cd5a46023904bbcede921c22362 (patch)
treead743f7640bd5b5910a0b640b98e620297820b70 /src
parent6293dd5558644b6562524c3bfa328a35bedeb661 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_mac.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx
index 288044f59..d7cb5cf2c 100644
--- a/src/Fl_mac.cxx
+++ b/src/Fl_mac.cxx
@@ -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).
//
@@ -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
}
}
- ExitToShell();
+ QuitApplicationEventLoop();
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 $".
//