summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-06 15:39:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-06 15:39:59 (GMT)
commit8dd2aa23340c75aacf73d27ab751cdbf110dc055 (patch)
treeef515c0afd97cefb2230ae71447a1ee273d7d23d /macosx
parent23573be79ad8f44de1fd3445a3ec3ca89b21e3d3 (diff)
parentc56bbfcace9ceaac2fa36e32d7c9349e7be3e3b5 (diff)
downloadtk-8dd2aa23340c75aacf73d27ab751cdbf110dc055.zip
tk-8dd2aa23340c75aacf73d27ab751cdbf110dc055.tar.gz
tk-8dd2aa23340c75aacf73d27ab751cdbf110dc055.tar.bz2
Merge 8.6
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXButton.c27
1 files changed, 9 insertions, 18 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index cd428b5..9f60b91 100644
--- a/macosx/tkMacOSXButton.c
+++ b/macosx/tkMacOSXButton.c
@@ -719,7 +719,7 @@ TkpDestroyButton(
static void
TkMacOSXDrawButton(
MacButton *mbPtr, /* Mac button. */
- GC gc, /* The GC we are drawing into - needed for
+ TCL_UNUSED(GC), /* The GC we are drawing into - needed for
* the bevel button */
Pixmap pixmap) /* The pixmap we are drawing into - needed
* for the bevel button */
@@ -730,7 +730,6 @@ TkMacOSXDrawButton(
TkMacOSXDrawingContext dc;
DrawParams *dpPtr = &mbPtr->drawParams;
int useNewerHITools = 1;
- (void)gc;
TkMacOSXComputeButtonParams(butPtr, &mbPtr->btnkind, &mbPtr->drawinfo);
@@ -806,19 +805,16 @@ TkMacOSXDrawButton(
static void
ButtonBackgroundDrawCB(
- const HIRect *btnbounds,
+ TCL_UNUSED(const HIRect *),
MacButton *ptr,
- SInt16 depth,
- Boolean isColorDev)
+ TCL_UNUSED(SInt16),
+ TCL_UNUSED(Boolean))
{
MacButton *mbPtr = (MacButton *) ptr;
TkButton *butPtr = (TkButton *) mbPtr;
Tk_Window tkwin = butPtr->tkwin;
Pixmap pixmap;
int usehlborder = 0;
- (void)btnbounds;
- (void)depth;
- (void)isColorDev;
if (tkwin == NULL || !Tk_IsMapped(tkwin)) {
return;
@@ -861,20 +857,15 @@ ButtonBackgroundDrawCB(
*/
static void
ButtonContentDrawCB (
- const HIRect * btnbounds,
- ThemeButtonKind kind,
- const HIThemeButtonDrawInfo *drawinfo,
+ TCL_UNUSED(const HIRect *),
+ TCL_UNUSED(ThemeButtonKind),
+ TCL_UNUSED(const HIThemeButtonDrawInfo *),
MacButton *ptr,
- SInt16 depth,
- Boolean isColorDev)
+ TCL_UNUSED(SInt16),
+ TCL_UNUSED(Boolean))
{
TkButton *butPtr = (TkButton *) ptr;
Tk_Window tkwin = butPtr->tkwin;
- (void)btnbounds;
- (void)kind;
- (void)drawinfo;
- (void)depth;
- (void)isColorDev;
if (tkwin == NULL || !Tk_IsMapped(tkwin)) {
return;