diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-05-03 06:48:55 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-05-03 06:48:55 (GMT) |
commit | 96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19 (patch) | |
tree | ac5cbde1108929f0baf8ef8d65224140adad35cd | |
parent | 9ab45b1425e734f75cb077e942cf50e62b455e50 (diff) | |
download | tk-96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19.zip tk-96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19.tar.gz tk-96ceda29303fa98217d4b1a6ab3bdd5dc02c7c19.tar.bz2 |
Fix [Bug 2785744].
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | win/tkWinWm.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -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; } |