diff options
author | das <das> | 2007-06-04 09:28:44 (GMT) |
---|---|---|
committer | das <das> | 2007-06-04 09:28:44 (GMT) |
commit | 48c2d8dbad1e62dada17997dd163d6fd1ea189fd (patch) | |
tree | b3e77654d4b69228085592fcc9bcb40f322a2d57 /macosx/tkMacOSXMenu.c | |
parent | 7059cef4a215e5d190f7fd86aebfa41e8c24a4fb (diff) | |
download | tk-48c2d8dbad1e62dada17997dd163d6fd1ea189fd.zip tk-48c2d8dbad1e62dada17997dd163d6fd1ea189fd.tar.gz tk-48c2d8dbad1e62dada17997dd163d6fd1ea189fd.tar.bz2 |
* macosx/tkMacOSXMenu.c: add error checking; whitespace cleanup.
* macosx/tkMacOSXDraw.c: sync comment formatting with HEAD.
* macosx/tkMacOSXEmbed.c:
* macosx/tkMacOSXEntry.c:
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXKeyboard.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXSend.c:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXXStubs.c:
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index 0d51ad3..a412e1d 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.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: tkMacOSXMenu.c,v 1.6.2.26 2007/06/02 06:46:49 das Exp $ + * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.6.2.27 2007/06/04 09:28:45 das Exp $ */ #include "tkMacOSXInt.h" @@ -1288,8 +1288,8 @@ ReconfigureIndividualMenu( ->menuPtr->platformData)->menuHdl; if (childMenuHdl != NULL) { - SetMenuItemHierarchicalID(macMenuHdl, base + index, - GetMenuID(childMenuHdl)); + ChkErr(SetMenuItemHierarchicalID, macMenuHdl, + base + index, GetMenuID(childMenuHdl)); } /* * If we changed the highligthing of this menu, its @@ -4204,7 +4204,7 @@ HandleMenuHiliteMsg( hidPtr->newItem); #endif GetPort(&macMDEFDrawable.grafPtr); - macMDEFDrawable.context = (CGContextRef)hidPtr->context; + macMDEFDrawable.context = (CGContextRef) hidPtr->context; err = ChkErr(GetMenuTrackingData, menu, mtdPtr); if (err != noErr) { @@ -4258,7 +4258,7 @@ HandleMenuDrawMsg( GetPort(&macMDEFDrawable.grafPtr); GetPortBounds(macMDEFDrawable.grafPtr, &bounds); - macMDEFDrawable.context = (CGContextRef)ddPtr->context; + macMDEFDrawable.context = (CGContextRef) ddPtr->context; #ifdef TK_MAC_DEBUG_MENUS TkMacOSXDbgMsg("MDEF: DrawMsg %d - %d; %d - %d", menuRectPtr->top, menuRectPtr->bottom, bounds.top, bounds.bottom); @@ -4402,7 +4402,7 @@ HandleMenuFindItemMsg( GetPort(&macMDEFDrawable.grafPtr); GetPortBounds(macMDEFDrawable.grafPtr, &bounds); - macMDEFDrawable.context = (CGContextRef)fiPtr->context; + macMDEFDrawable.context = (CGContextRef) fiPtr->context; /* * Now we need to take care of scrolling the menu. |