summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-05-03 22:40:30 (GMT)
committerhobbs <hobbs>2004-05-03 22:40:30 (GMT)
commite7513a24faa053ccefd16199f1faa3e459c9eb16 (patch)
tree0991e2d295fa96e9ed3e196167233c1475098e3e /win/tkWinX.c
parentbec318682f65b645a8915ca70da8b87e9fdf2b86 (diff)
downloadtk-e7513a24faa053ccefd16199f1faa3e459c9eb16.zip
tk-e7513a24faa053ccefd16199f1faa3e459c9eb16.tar.gz
tk-e7513a24faa053ccefd16199f1faa3e459c9eb16.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.c6
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;