| Description: |
OriginalBugID: 641 Bug
Version: 8.0p2
SubmitDate: '1998-05-25'
LastModified: '1999-08-06'
Severity: MED
Status: Released
Submitter: hershey
ChangedBy: hobbs
OS: All Windows
OSVersion: NA
Machine: NA
FixedDate: '1999-08-06'
FixedInVersion: 8.2
Found a bug in tkWinWm.c that causes system menubars to disappear
from toplevel widgets if the toplevel style is changed,
e.g. by using wm transient or wm overrideredirect.
File: tkWinWm.c
Line: 734
Routine: UpdateWrapper
Code:
if (oldWrapper && (oldWrapper != wmPtr->wrapper)
&& (oldWrapper != GetDesktopWindow())) {
SetWindowLong(oldWrapper, GWL_USERDATA, (LONG) NULL);
/* bug fix: Must remove any system menubar before deleting wrapper
* else the menubar gets deleted too !
*/
SetMenu(oldWrapper,NULL);
DestroyWindow(oldWrapper);
}
This fix exists in the 8.2b2 code.
-- 08/06/1999 hobbs
|