summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-10-11 13:33:30 (GMT)
committernijtmans <nijtmans>2010-10-11 13:33:30 (GMT)
commit0a4da5d57f06d8c18a71b3cbffaddda4da894b41 (patch)
treee9e2bf87d52cfb97684190d23f918fa852e993b0 /win/tkWinMenu.c
parent7af9b96ae8af965228ce6e968abc3291e2486de2 (diff)
downloadtk-0a4da5d57f06d8c18a71b3cbffaddda4da894b41.zip
tk-0a4da5d57f06d8c18a71b3cbffaddda4da894b41.tar.gz
tk-0a4da5d57f06d8c18a71b3cbffaddda4da894b41.tar.bz2
[FRQ 2965056]: Windows build with -DUNICODE
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r--win/tkWinMenu.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index 1ff3cfa..dd6e2b3 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.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: tkWinMenu.c,v 1.76 2010/10/06 14:33:29 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinMenu.c,v 1.77 2010/10/11 13:33:30 nijtmans Exp $
*/
#define OEMRESOURCE
@@ -698,8 +698,7 @@ ReconfigureWindowsMenu(
}
}
if (!systemMenu) {
- tkWinProcs->insertMenu(winMenuHdl, 0xFFFFFFFF, flags,
- itemID, lpNewItem);
+ InsertMenu(winMenuHdl, 0xFFFFFFFF, flags, itemID, lpNewItem);
}
Tcl_DStringFree(&translatedText);
if (itemText != NULL) {
@@ -969,7 +968,7 @@ TkWinEmbeddedMenuProc(
break;
case WM_SETTINGCHANGE:
- if (wParam == SPI_SETNONCLIENTMETRICS
+ if (wParam == SPI_SETNONCLIENTMETRICS
|| wParam == SPI_SETKEYBOARDCUES) {
SetDefaults(0);
}