summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXKeyEvent.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-07-01 17:31:29 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-07-01 17:31:29 (GMT)
commitf033a80514181e8c3c72adf49910b036334ece31 (patch)
tree56fb7f0aa8f86fc78dd03c1a0cbbe8d3fe3b7244 /macosx/tkMacOSXKeyEvent.c
parenta7f7c5e1a86b94cff3e98fa4ce842fbfdbf8cd6e (diff)
downloadtk-f033a80514181e8c3c72adf49910b036334ece31.zip
tk-f033a80514181e8c3c72adf49910b036334ece31.tar.gz
tk-f033a80514181e8c3c72adf49910b036334ece31.tar.bz2
merge updates from HEAD
Diffstat (limited to 'macosx/tkMacOSXKeyEvent.c')
-rw-r--r--macosx/tkMacOSXKeyEvent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c
index 3728ca1..5fcbe4d 100644
--- a/macosx/tkMacOSXKeyEvent.c
+++ b/macosx/tkMacOSXKeyEvent.c
@@ -54,10 +54,10 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.21.2.1 2007/06/04 15:19:00 dgp Exp $
+ * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.21.2.2 2007/07/01 17:31:34 dgp Exp $
*/
-#include "tkMacOSXInt.h"
+#include "tkMacOSXPrivate.h"
#include "tkMacOSXEvent.h"
/*
@@ -1123,8 +1123,8 @@ TkpSetCapture(
m = kWindowModalityNone;
}
if (w && w->window != None && TkMacOSXHostToplevelExists(w)) {
- ChkErr(SetWindowModality, GetWindowFromPort(
- TkMacOSXGetDrawablePort(w->window)), m, NULL);
+ ChkErr(SetWindowModality, TkMacOSXDrawableWindow(w->window), m,
+ NULL);
}
}
#endif