|
From: | Jason Rumney |
Subject: | Re: No refresh of buffer before popup-menu |
Date: | Thu, 22 Feb 2007 21:47:18 +0000 |
User-agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
Lennart Borgman (gmail) wrote:
Thanks, but is there a global variable wv? Do you mean current_popup_menu? Is that what is freed in w32_free_menu_strings? That is called right after discard_menu_item.So I still do not understand.
Indeed it is w32_free_menu_strings that is the function I was thinking of, current_popup_menu is the Windows menu handle, and it seems the data I was thinking of is not stored as global variable but accessible through the menu handle. It is current_popup_menu that is the problem here, when the first menu's strings are being freed, current_popup_menu is actually pointing to the second menu. Looking at the code, we may be able to move things around to avoid this.
[Prev in Thread] | Current Thread | [Next in Thread] |