summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit>2004-03-17 19:35:41 (GMT)
committerwolfsuit <wolfsuit>2004-03-17 19:35:41 (GMT)
commit445048056093481150a8458739017f2da1966945 (patch)
tree9d57e9bba4ede696553fdfdf53d934520b7ddb77
parent391e9db006b1336b8f6792dc389860cf170ee3fa (diff)
downloadtk-445048056093481150a8458739017f2da1966945.zip
tk-445048056093481150a8458739017f2da1966945.tar.gz
tk-445048056093481150a8458739017f2da1966945.tar.bz2
Trivial bug in tracking Hide/Show pairs.
-rw-r--r--macosx/tkMacOSXHLEvents.c4
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) {