mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:00:47 +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
47246f7bb0
commit
2d2edfca4f
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>
|
2011-01-20 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
* Source/NSColorList.m (+availableColorLists): Make sure the
|
* Source/NSColorList.m (+availableColorLists): Make sure the
|
||||||
|
|
|
@ -1658,7 +1658,8 @@ static NSMapTable *viewInfo = 0;
|
||||||
in a window*/
|
in a window*/
|
||||||
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self) ==
|
if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", self) ==
|
||||||
NSWindows95InterfaceStyle &&
|
NSWindows95InterfaceStyle &&
|
||||||
anAttachedMenu != nil)
|
![[self menu] isTransient] &&
|
||||||
|
![[self menu] _ownedByPopUp])
|
||||||
{
|
{
|
||||||
if ([self hitTest: location] == nil)
|
if ([self hitTest: location] == nil)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue