gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Duplicate Member in NSMenuItemCell.h


From: Ted Howard
Subject: Duplicate Member in NSMenuItemCell.h
Date: Wed, 24 Jan 2007 10:36:39 -0600

When I try to compile gui from the trunk, I get a duplicate member error in NSMenuItemCell.h on _backgroundColor.

Upon looking at the code, I noticed that NSButtonCell was recently modified to include a _backgroundColor member.  Since NSMenuItemCell extends NSButtonCell, the _backgroundColor member of NSMenuItemCell should be removed.

I tried this on my machine, and it seems to work fine.  I have attached a patch that does this.

Ted

Attachment: NSMenuItemCell-duplicate_backgroundColor.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]