diff options
author | wolfsuit <wolfsuit> | 2005-03-12 00:49:27 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2005-03-12 00:49:27 (GMT) |
commit | 5a6d13273b98767ce73bce25863a3e6189daaa74 (patch) | |
tree | a653deaea813d558fc1961f902ee8e7ff6518cfb /macosx/tkMacOSXWm.c | |
parent | c6bbd37ba31a119fdbd82c318f023153f1764065 (diff) | |
download | tk-5a6d13273b98767ce73bce25863a3e6189daaa74.zip tk-5a6d13273b98767ce73bce25863a3e6189daaa74.tar.gz tk-5a6d13273b98767ce73bce25863a3e6189daaa74.tar.bz2 |
Fix for 1124237 and the mysterious "sometimes buttons don't draw" bug.
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r-- | macosx/tkMacOSXWm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c index fe8b9a0..9913688 100644 --- a/macosx/tkMacOSXWm.c +++ b/macosx/tkMacOSXWm.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXWm.c,v 1.7.2.6 2004/11/11 01:26:43 das Exp $ + * RCS: @(#) $Id: tkMacOSXWm.c,v 1.7.2.7 2005/03/12 00:49:38 wolfsuit Exp $ */ #include <Carbon/Carbon.h> @@ -5049,6 +5049,7 @@ TkpMakeMenuWindow( } } + /* *---------------------------------------------------------------------- * @@ -5156,7 +5157,7 @@ TkMacOSXMakeRealWindowExist( listPtr->winPtr = winPtr; tkMacOSXWindowListPtr = listPtr; - macWin->grafPtr = GetWindowPort ( newWindow ); + macWin->grafPtr = GetWindowPort (newWindow); macWin->rootControl = rootControl; MoveWindowStructure(newWindow, geometry.left, geometry.top); SetPort(GetWindowPort(newWindow)); |