Re: Problems with AMRollOverButton
Re: Problems with AMRollOverButton
- Subject: Re: Problems with AMRollOverButton
- From: Jérome Foucher <email@hidden>
- Date: Fri, 6 Feb 2004 15:50:28 +0100
On 6 fivr. 04, at 15:33, Max Horvath wrote:
Hello!
i wanted to implement the AMRollOverButton class of Andreas Mayer.
First I inserted a button with IB and saved the nib. Now I inserted the
AMRollOverButton & AMRollOverButtonCell & NSBezierPath_AMAdditions
files into my project.
After that i wanted to compile the project - but that failed.
These are the two errors:
AMRollOverButton.h:12: error: parse error before "NSTrackingRectTag"
AMRollOverButton.h:13: error: cannot find interface declaration for
`NSControl', superclass of `AMRollOverButton'
Does anyone know what#s wrong?
replace the #import <Foundation/Foundation.h> by #import
<AppKit/AppKit.h> if I recall correctly
Jerome
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.