From 9c7ec90412754b36441871b6869ba582b10bb51a Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 1 Jun 2003 00:23:57 +0000 Subject: Fix open-documents callback stuff. Add open documents callback to FLUID. Add FLUID application to fltk.list file for packaging. Add FLUID application icon and data files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_mac.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index 779d20112..fe046222e 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_mac.cxx,v 1.1.2.44 2003/05/30 07:03:09 easysw Exp $" +// "$Id: Fl_mac.cxx,v 1.1.2.45 2003/06/01 00:23:57 easysw Exp $" // // MacOS specific code for the Fast Light Tool Kit (FLTK). // @@ -1026,10 +1026,10 @@ static OSErr OpenAppleEventHandler(const AppleEvent *appleEvt, fl_lock_function(); // Open the documents via the callback... - if (AECountItems(theDocuments, &n) == noErr) { + if (AECountItems(&documents, &n) == noErr) { for (i = 1; i <= n; i ++) { // Get the next FSSpec record... - AEGetNthPtr(theDocuments, i, typeFSS, &keyWd, &typeCd, + AEGetNthPtr(&documents, i, typeFSS, &keyWd, &typeCd, (Ptr)&fileSpec, sizeof(fileSpec), (actSz = sizeof(fileSpec), &actSz)); @@ -1861,6 +1861,6 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) { // -// End of "$Id: Fl_mac.cxx,v 1.1.2.44 2003/05/30 07:03:09 easysw Exp $". +// End of "$Id: Fl_mac.cxx,v 1.1.2.45 2003/06/01 00:23:57 easysw Exp $". // -- cgit v1.2.3