summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-05-03 06:48:55 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-05-03 06:48:55 (GMT)
commit96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19 (patch)
treeac5cbde1108929f0baf8ef8d65224140adad35cd
parent9ab45b1425e734f75cb077e942cf50e62b455e50 (diff)
downloadtk-96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19.zip
tk-96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19.tar.gz
tk-96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19.tar.bz2
Fix [Bug 2785744].
-rw-r--r--ChangeLog7
-rw-r--r--win/tkWinWm.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e1608ea..55507c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+2009-05-03 Donal K. Fellows <dkf@users.sf.net>
+
+ * win/tkWinWm.c (UpdateWrapper): [Bug 2785744]: Manipulate flag bit
+ correctly so that menubar updates can't smash other attributes.
+
2009-04-30 Pat Thoyts <patthoyts@users.sourceforge.net>
- * win/tkWinWm.c: [Patch 2504402] backported change to create
+ * win/tkWinWm.c: [Patch 2504402]: Backported change to create
wm icons as device independent bitmaps. (cjmcdonald)
2009-04-30 Donal K. Fellows <dkf@users.sf.net>
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 6901a80..b18318f 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinWm.c,v 1.124.2.4 2009/04/30 15:06:57 patthoyts Exp $
+ * RCS: @(#) $Id: tkWinWm.c,v 1.124.2.5 2009/05/03 06:48:55 dkf Exp $
*/
#include "tkWinInt.h"
@@ -2353,7 +2353,7 @@ UpdateWrapper(
*/
if (wmPtr->hMenu != NULL) {
- wmPtr->flags = WM_SYNC_PENDING;
+ wmPtr->flags |= WM_SYNC_PENDING;
SetMenu(wmPtr->wrapper, wmPtr->hMenu);
wmPtr->flags &= ~WM_SYNC_PENDING;
}