diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-14 11:02:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-07-14 11:02:35 (GMT) |
commit | 3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67 (patch) | |
tree | 9a6ebf77a206d37df3f624b70ffd9ece31e7ddc4 /generic/tkCanvas.c | |
parent | 92751c3e0866b78b2a36457363948cee95a92ce5 (diff) | |
download | tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.zip tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.gz tk-3f9e5a8e1a6a5b3a0917e82bed0dc34acf93cf67.tar.bz2 |
New TIP #580 implementation. Documentation still missing.
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r-- | generic/tkCanvas.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c index 193d877..5322466 100644 --- a/generic/tkCanvas.c +++ b/generic/tkCanvas.c @@ -799,7 +799,7 @@ Tk_CanvasObjCmd( goto error; } - Tcl_SetObjResult(interp, TkNewWindowObj(canvasPtr->tkwin)); + Tcl_SetObjResult(interp, Tk_NewWindowObj(canvasPtr->tkwin)); return TCL_OK; error: @@ -5082,7 +5082,7 @@ CanvasBindProc( XEvent *eventPtr) /* Pointer to X event that just happened. */ { TkCanvas *canvasPtr = (TkCanvas *)clientData; - unsigned long mask; + unsigned mask; Tcl_Preserve(canvasPtr); @@ -5095,7 +5095,7 @@ CanvasBindProc( switch (eventPtr->type) { case ButtonPress: case ButtonRelease: - mask = TkGetButtonMask(eventPtr->xbutton.button); + mask = Tk_GetButtonMask(eventPtr->xbutton.button); /* * For button press events, repick the current item using the button |