diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkMenu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 3a47724..07fc3f1 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -1221,6 +1221,7 @@ DestroyMenuInstance( DestroyMenuEntry); menuPtr->numEntries = i; } + menuPtr->active = -1; if (menuPtr->entries != NULL) { ckfree(menuPtr->entries); menuPtr->entries = NULL; |