diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-12 21:59:23 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-12 21:59:23 (GMT) |
commit | dd4f5b0646f28e3e3729557730e81550f3faeb16 (patch) | |
tree | 99dce5cc0b6563216817878a1170376b663365d2 /macosx/tkMacOSXButton.c | |
parent | 1a1118fa21d731504dac09ed2e6d6238601f5c84 (diff) | |
download | tk-dd4f5b0646f28e3e3729557730e81550f3faeb16.zip tk-dd4f5b0646f28e3e3729557730e81550f3faeb16.tar.gz tk-dd4f5b0646f28e3e3729557730e81550f3faeb16.tar.bz2 |
Even more -1 -> TCL_INDEX_NONE
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r-- | macosx/tkMacOSXButton.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 06e4593..26d0c33 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -76,7 +76,7 @@ static void ButtonContentDrawCB(const HIRect *bounds, ThemeButtonKind kind, const HIThemeButtonDrawInfo *info, MacButton *ptr, SInt16 depth, Boolean isColorDev); -static void ButtonEventProc(ClientData clientData, +static void ButtonEventProc(void *clientData, XEvent *eventPtr); static void TkMacOSXComputeButtonParams(TkButton *butPtr, ThemeButtonKind *btnkind, @@ -86,7 +86,7 @@ static int TkMacOSXComputeButtonDrawParams(TkButton *butPtr, static void TkMacOSXDrawButton(MacButton *butPtr, GC gc, Pixmap pixmap); static void DrawButtonImageAndText(TkButton *butPtr); -static void PulseDefaultButtonProc(ClientData clientData); +static void PulseDefaultButtonProc(void *clientData); /* * The class procedure table for the button widgets. @@ -179,7 +179,7 @@ TkpCreateButton( void TkpDisplayButton( - ClientData clientData) /* Information about widget. */ + void *clientData) /* Information about widget. */ { MacButton *macButtonPtr = (MacButton *)clientData; TkButton *butPtr = (TkButton *)clientData; @@ -900,7 +900,7 @@ ButtonContentDrawCB ( static void ButtonEventProc( - ClientData clientData, /* Information about window. */ + void *clientData, /* Information about window. */ XEvent *eventPtr) /* Information about event. */ { TkButton *buttonPtr = (TkButton *)clientData; @@ -1174,7 +1174,7 @@ TkMacOSXComputeButtonDrawParams( */ static void -PulseDefaultButtonProc(ClientData clientData) +PulseDefaultButtonProc(void *clientData) { MacButton *mbPtr = (MacButton *)clientData; |