summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPort.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-01-02 20:50:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-01-02 20:50:55 (GMT)
commit29879491172358d63759c151d2c20e9d94784fc1 (patch)
tree1b4e75fb2e1a4679e9fdbc7981100611810b1ba6 /macosx/tkMacOSXPort.h
parent77c2f634aa711e41edc8560900d6c038903a027c (diff)
parent2f75423051e6eda811bcdfeadd4b5397d12baae2 (diff)
downloadtk-29879491172358d63759c151d2c20e9d94784fc1.zip
tk-29879491172358d63759c151d2c20e9d94784fc1.tar.gz
tk-29879491172358d63759c151d2c20e9d94784fc1.tar.bz2
Merge 8.5. Fix [winfo id] for Cocoa.
Diffstat (limited to 'macosx/tkMacOSXPort.h')
-rw-r--r--macosx/tkMacOSXPort.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/macosx/tkMacOSXPort.h b/macosx/tkMacOSXPort.h
index 1576ec7..0c3b347 100644
--- a/macosx/tkMacOSXPort.h
+++ b/macosx/tkMacOSXPort.h
@@ -141,18 +141,10 @@
/*
* This macro stores a representation of the window handle in a string.
- * This should perhaps use the real size of an XID.
*/
#define TkpPrintWindowId(buf,w) \
- sprintf((buf), "0x%x", (unsigned int) (w))
-
-/*
- * TkpScanWindowId is just an alias for Tcl_GetInt on Unix.
- */
-
-#define TkpScanWindowId(i,s,wp) \
- Tcl_GetInt((i),(s),(int *) (wp))
+ sprintf((buf), "0x%lx", (unsigned long) (w))
/*
* Turn off Tk double-buffering as Aqua windows are already double-buffered.