diff options
author | das <das> | 2002-04-08 09:04:31 (GMT) |
---|---|---|
committer | das <das> | 2002-04-08 09:04:31 (GMT) |
commit | 00d1fbc3406360ad2baa37dc82fef1f8848fe30f (patch) | |
tree | 388b7f23b6b3cafb2c20243044e6b0a315a7ec0f /mac/tkMacDialog.c | |
parent | cd5ea00309a0c101d1bc607133d083f936193658 (diff) | |
download | tk-00d1fbc3406360ad2baa37dc82fef1f8848fe30f.zip tk-00d1fbc3406360ad2baa37dc82fef1f8848fe30f.tar.gz tk-00d1fbc3406360ad2baa37dc82fef1f8848fe30f.tar.bz2 |
2002-04-08 Daniel Steffen <das@users.sourceforge.net>
* mac/tkMacProjects.sea.hqx: added tkPanedWindow.c to projects
* mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the
TkConsole when using shared MSL libraries; fix for crashing
bug on exit: writing to stdin/sterr when console has already
been destroyed. (both fixes need support in MSL, see
'CW Pro6 changes' in tcl/mac/tcltkMacBuildSupport.sea.hqx)
* mac/tkMacDialog.c: fixes to Navigation Services Dialog filter.
* mac/tkMacDraw.c: add panic for overwide TkImages that would
crash Tk on mac otherwise.
Diffstat (limited to 'mac/tkMacDialog.c')
-rw-r--r-- | mac/tkMacDialog.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mac/tkMacDialog.c b/mac/tkMacDialog.c index 03fb495..8719782 100644 --- a/mac/tkMacDialog.c +++ b/mac/tkMacDialog.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacDialog.c,v 1.8 2002/01/18 03:24:24 das Exp $ + * RCS: @(#) $Id: tkMacDialog.c,v 1.9 2002/04/08 09:04:38 das Exp $ */ #include <Gestalt.h> @@ -1050,17 +1050,10 @@ OpenEventProc( { NavMenuItemSpec *chosenItem; OpenFileData *ofd = (OpenFileData *) callBackUD; - static SInt32 otherEvent = ~(kNavCBCustomize|kNavCBStart|kNavCBTerminate - |kNavCBNewLocation|kNavCBShowDesktop|kNavCBSelectEntry|kNavCBAccept - |kNavCBCancel|kNavCBAdjustPreview); if (callBackSelector == kNavCBPopupMenuSelect) { chosenItem = (NavMenuItemSpec *) callBackParams->eventData.eventDataParms.param; ofd->curType = chosenItem->menuType; - } else if ( callBackSelector & otherEvent != 0) { - while (Tcl_DoOneEvent(TCL_IDLE_EVENTS|TCL_DONT_WAIT|TCL_WINDOW_EVENTS)) { - /* Empty Body */ - } } else if (callBackSelector == kNavCBEvent) { if (callBackParams->eventData.eventDataParms.event->what == updateEvt) { if (TkMacConvertEvent( callBackParams->eventData.eventDataParms.event)) { |