summaryrefslogtreecommitdiffstats
path: root/win/tkWinTest.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-04-14 20:59:51 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-04-14 20:59:51 (GMT)
commit85d27c069f42f1d60d52fe18ec51b440735c6503 (patch)
tree8dc97a04acfda3ee4cef886b6275ab4a833c39e2 /win/tkWinTest.c
parentd9b1207d3664e2c10eac96dfa91e9d303370eb7d (diff)
downloadtk-85d27c069f42f1d60d52fe18ec51b440735c6503.zip
tk-85d27c069f42f1d60d52fe18ec51b440735c6503.tar.gz
tk-85d27c069f42f1d60d52fe18ec51b440735c6503.tar.bz2
backported tk_chooseColor -title fix from HEAD
Diffstat (limited to 'win/tkWinTest.c')
-rw-r--r--win/tkWinTest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/tkWinTest.c b/win/tkWinTest.c
index 57792ec..95b5336 100644
--- a/win/tkWinTest.c
+++ b/win/tkWinTest.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinTest.c,v 1.14 2007/12/13 15:28:56 dgp Exp $
+ * RCS: @(#) $Id: tkWinTest.c,v 1.14.2.1 2008/04/14 20:59:51 patthoyts Exp $
*/
#include "tkWinInt.h"
@@ -466,6 +466,9 @@ TestgetwindowinfoObjCmd(
Tcl_ListObjAppendElement(interp, resObj, Tcl_NewStringObj("text", -1));
Tcl_ListObjAppendElement(interp, resObj, textObj);
+ Tcl_ListObjAppendElement(interp, resObj, Tcl_NewStringObj("parent", -1));
+ Tcl_ListObjAppendElement(interp, resObj,
+ Tcl_NewLongObj((long)GetParent(hwnd)));
childrenObj = Tcl_NewListObj(0, NULL);
EnumChildWindows(hwnd, EnumChildrenProc, (LPARAM)childrenObj);