diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-11-13 22:39:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-11-13 22:39:14 (GMT) |
commit | 8baf7d337ca0aab7fafb0e670927ab2c0200e80a (patch) | |
tree | f9895e015c28307b00ab11e88a52567b90cac9c7 /generic/tkWindow.c | |
parent | 4a95c9f7b470865b6c28e0eb34b8bf725a8951cf (diff) | |
download | tk-8baf7d337ca0aab7fafb0e670927ab2c0200e80a.zip tk-8baf7d337ca0aab7fafb0e670927ab2c0200e80a.tar.gz tk-8baf7d337ca0aab7fafb0e670927ab2c0200e80a.tar.bz2 |
Fix use of DEF_LABEL_FG with Tcl 9.0 headers. Doc fix, various other tweaks
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index dcaaf69..917eadd 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -2863,7 +2863,7 @@ TkCygwinMainEx( void (*tkmainex)(int, char **, Tcl_AppInitProc *, Tcl_Interp *); /* construct "<path>/libtk8.?.dll", from "<path>/tk8?.dll" */ - len = GetModuleFileNameW(Tk_GetHINSTANCE(), name, MAX_PATH); + len = GetModuleFileNameW((HINSTANCE)Tk_GetHINSTANCE(), name, MAX_PATH); name[len-2] = '.'; name[len-1] = name[len-5]; wcscpy(name+len, L".dll"); |