mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Fixed problems with menu in windows: transient menus and pop-ups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31938 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dde88908f9
commit
6370fa3b07
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-01-24 German Arias <german@xelalug.org>
|
||||
|
||||
* Source/NSMenuView.m (-trackWithEvent:): Fixed problems with
|
||||
transient menus and PopUp (pulls-down) with Windows95 interface
|
||||
style.
|
||||
|
||||
2011-01-20 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSColorList.m (+availableColorLists): Make sure the
|
||||
|
|
|
@ -1658,7 +1658,8 @@ static NSMapTable *viewInfo = 0;
|
|||
in a window*/
|
||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self) ==
|
||||
NSWindows95InterfaceStyle &&
|
||||
anAttachedMenu != nil)
|
||||
![[self menu] isTransient] &&
|
||||
![[self menu] _ownedByPopUp])
|
||||
{
|
||||
if ([self hitTest: location] == nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue