diff options
author | hobbs <hobbs> | 2004-05-03 22:40:30 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-05-03 22:40:30 (GMT) |
commit | 97fa7ebd6f2a17c1baa3ad2b199a7fa35650ba0a (patch) | |
tree | 0991e2d295fa96e9ed3e196167233c1475098e3e /win/tkWinX.c | |
parent | 268b89da338295838ddc4f21673188179c3e8618 (diff) | |
download | tk-97fa7ebd6f2a17c1baa3ad2b199a7fa35650ba0a.zip tk-97fa7ebd6f2a17c1baa3ad2b199a7fa35650ba0a.tar.gz tk-97fa7ebd6f2a17c1baa3ad2b199a7fa35650ba0a.tar.bz2 |
* win/tkWinX.c: fix drawing of unicode chars in menu
* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
* win/tkWinMenu.c (ReconfigureWindowsMenu):
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index 28b83fe..bd8e75c 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.29 2004/05/03 22:28:45 hobbs Exp $ + * RCS: @(#) $Id: tkWinX.c,v 1.30 2004/05/03 22:40:30 hobbs Exp $ */ #include "tkWinInt.h" @@ -58,6 +58,8 @@ static TkWinProcs asciiProcs = { LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam)) CreateWindowExA, + (BOOL (WINAPI *)(HMENU hMenu, UINT uPosition, UINT uFlags, + UINT uIDNewItem, LPCTSTR lpNewItem)) InsertMenuA, }; static TkWinProcs unicodeProcs = { @@ -73,6 +75,8 @@ static TkWinProcs unicodeProcs = { LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, HINSTANCE hInstance, LPVOID lpParam)) CreateWindowExW, + (BOOL (WINAPI *)(HMENU hMenu, UINT uPosition, UINT uFlags, + UINT uIDNewItem, LPCTSTR lpNewItem)) InsertMenuW, }; TkWinProcs *tkWinProcs; |