diff options
author | wolfsuit <wolfsuit> | 2004-03-17 19:35:41 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2004-03-17 19:35:41 (GMT) |
commit | 445048056093481150a8458739017f2da1966945 (patch) | |
tree | 9d57e9bba4ede696553fdfdf53d934520b7ddb77 | |
parent | 391e9db006b1336b8f6792dc389860cf170ee3fa (diff) | |
download | tk-445048056093481150a8458739017f2da1966945.zip tk-445048056093481150a8458739017f2da1966945.tar.gz tk-445048056093481150a8458739017f2da1966945.tar.bz2 |
Trivial bug in tracking Hide/Show pairs.
-rw-r--r-- | macosx/tkMacOSXHLEvents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXHLEvents.c b/macosx/tkMacOSXHLEvents.c index e986eab..e2b6bb4 100644 --- a/macosx/tkMacOSXHLEvents.c +++ b/macosx/tkMacOSXHLEvents.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.5.2.3 2004/03/17 19:01:46 wolfsuit Exp $ + * RCS: @(#) $Id: tkMacOSXHLEvents.c,v 1.5.2.4 2004/03/17 19:35:41 wolfsuit Exp $ */ #include "tkMacOSXPort.h" @@ -73,13 +73,13 @@ OSStatus ApplicationCarbonEventsHandler (EventHandlerCallRef inHandlerCallRef, * the show preferences procedure doesn't exist. */ + toggleHide = 1; if ((interp == NULL) || (Tcl_GetCommandInfo(interp, "::tk::mac::OnHide", &dummy)) == 0) { return eventNotHandledErr; } Tcl_GlobalEval(interp, "::tk::mac::OnHide"); - toggleHide = 1; break; case kEventAppShown: if (toggleHide == 1) { |