diff options
author | chengyemao <chengyemao> | 2005-01-31 04:08:32 (GMT) |
---|---|---|
committer | chengyemao <chengyemao> | 2005-01-31 04:08:32 (GMT) |
commit | ce7eccff48f0a1c155ce5f0482ef25196b71b625 (patch) | |
tree | 9cef8dfe2be9883d20aec5496e5f1ddbe9754d3f /win/tkWinX.c | |
parent | daaa68a2ed8d404a1c6685d4a6e15db3ed4ac9b4 (diff) | |
download | tk-ce7eccff48f0a1c155ce5f0482ef25196b71b625.zip tk-ce7eccff48f0a1c155ce5f0482ef25196b71b625.tar.gz tk-ce7eccff48f0a1c155ce5f0482ef25196b71b625.tar.bz2 |
Modified to handle a wide-character title string of a toplevel
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index 0b15aab..b8e8209 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinX.c,v 1.42 2005/01/16 00:23:15 chengyemao Exp $ + * RCS: @(#) $Id: tkWinX.c,v 1.43 2005/01/31 04:08:32 chengyemao Exp $ */ #include "tkWinInt.h" @@ -61,6 +61,7 @@ static TkWinProcs asciiProcs = { HINSTANCE hInstance, LPVOID lpParam)) CreateWindowExA, (BOOL (WINAPI *)(HMENU hMenu, UINT uPosition, UINT uFlags, UINT uIDNewItem, LPCTSTR lpNewItem)) InsertMenuA, + (int (WINAPI *)(HWND hWnd, LPCTSTR lpString, int nMaxCount)) GetWindowTextA, }; static TkWinProcs unicodeProcs = { @@ -78,6 +79,7 @@ static TkWinProcs unicodeProcs = { HINSTANCE hInstance, LPVOID lpParam)) CreateWindowExW, (BOOL (WINAPI *)(HMENU hMenu, UINT uPosition, UINT uFlags, UINT uIDNewItem, LPCTSTR lpNewItem)) InsertMenuW, + (int (WINAPI *)(HWND hWnd, LPCTSTR lpString, int nMaxCount)) GetWindowTextW, }; TkWinProcs *tkWinProcs; |