diff options
author | ericm <ericm> | 2000-07-28 17:37:23 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-07-28 17:37:23 (GMT) |
commit | e33b775145bc69581ca83bb4e2e2a7ad3e81a30a (patch) | |
tree | 9c803ffe374abd4d973033f86d91952391bfe731 /win/tkWinMenu.c | |
parent | 267cdcb38ff575dcbc70567bc4abfcc050bd1e41 (diff) | |
download | tk-e33b775145bc69581ca83bb4e2e2a7ad3e81a30a.zip tk-e33b775145bc69581ca83bb4e2e2a7ad3e81a30a.tar.gz tk-e33b775145bc69581ca83bb4e2e2a7ad3e81a30a.tar.bz2 |
* win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit
for disabled menu entries, to ensure that those which are drawn by
the system are shown grayed (such as entries on menubars) [Bug: 4372].
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r-- | win/tkWinMenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c index 7dd0458..54d6c1e 100644 --- a/win/tkWinMenu.c +++ b/win/tkWinMenu.c @@ -9,7 +9,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.11 2000/07/06 03:17:44 mo Exp $ + * RCS: @(#) $Id: tkWinMenu.c,v 1.12 2000/07/28 17:37:24 ericm Exp $ */ #define OEMRESOURCE @@ -582,7 +582,7 @@ ReconfigureWindowsMenu( */ if (mePtr->state == ENTRY_DISABLED) { - flags |= MF_DISABLED; + flags |= MF_DISABLED | MF_GRAYED; } /* |