summaryrefslogtreecommitdiffstats
path: root/win/tkWinPointer.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-27 10:17:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-27 10:17:39 (GMT)
commitbb7ff6b6a27d0862cd889aedff9f0bde74273435 (patch)
tree970c44e3584af7c0191565e3a2b1e1bdb0dd8b91 /win/tkWinPointer.c
parent482d9e4c5ef3ed6c8c8c76a951274c9bb5b19748 (diff)
downloadtk-bb7ff6b6a27d0862cd889aedff9f0bde74273435.zip
tk-bb7ff6b6a27d0862cd889aedff9f0bde74273435.tar.gz
tk-bb7ff6b6a27d0862cd889aedff9f0bde74273435.tar.bz2
Review: Suggested to rename TkpGetCapture back to TkMacOSXGetCapture for MacOSX, and keep the same return type (also for TkpGetCapture).
Diffstat (limited to 'win/tkWinPointer.c')
-rw-r--r--win/tkWinPointer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinPointer.c b/win/tkWinPointer.c
index 817d8f3..d5d6ed8 100644
--- a/win/tkWinPointer.c
+++ b/win/tkWinPointer.c
@@ -560,10 +560,10 @@ TkpSetCapture(
*----------------------------------------------------------------------
*/
-TkWindow *
+Tk_Window
TkpGetCapture(void)
{
- return (TkWindow *) Tk_HWNDToWindow(GetCapture());
+ return Tk_HWNDToWindow(GetCapture());
}
/*