summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPort.h
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2015-02-05 22:26:58 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2015-02-05 22:26:58 (GMT)
commit8e9e78d52fa9ba2522f175585e3299f03c5b82d0 (patch)
treefd2d0c47bc7f3a6d897ad98ded8ad583a8cb7f84 /macosx/tkMacOSXPort.h
parentb15c525eedc93a453dfea94482bc1198e27748fc (diff)
parentbedea5a5c74e0fb7f66c572836dc4d98a3285147 (diff)
downloadtk-bindScriptCount.zip
tk-bindScriptCount.tar.gz
tk-bindScriptCount.tar.bz2
Merge updates from core-8-5-branch.bindScriptCount
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 0a60cf6..2ccbac3 100644
--- a/macosx/tkMacOSXPort.h
+++ b/macosx/tkMacOSXPort.h
@@ -158,18 +158,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.