On Jul 10, 2006, at 3:50 PM, Richard Stonehouse wrote:
> Thanks. That clears the problem with NSWindowToolbarButton, but the
> compilation is still failing with one error and several warnings (I
> don't know whether the warnings matter or not):
>
> nsterm.m: In function s_update_end':
> nsterm.m:643: warning: SView' does not respond to
> nlockFocusNeedsFlush:'
> nsterm.m: In function ý nsterm.m:1090: warning: SWindow' does not
> respond to rameRectForContentRect:'
> nsterm.m:1090: error: incompatible type for argument 1 of NSHeight'
OK, it looks like GNUstep does not implement this convenience method
that came in Panther. Change the assignment there to:
FRAME_NS_TOOLBAR_HEIGHT(f) =
NSHeight([window frameRectForContentRect: NSMakeRect(0,0,0,0)
styleMask: [window styleMask]])
- FRAME_NS_TITLEBAR_HEIGHT(f);
I'm sorry, there may be more problems of this sort; the problem is I
don't have access to a GNUstep machine right now to test for more. It
might be best to add '-k' to the make invocation in the compile script.
This will hopefully allow it to spit out all the errors.
The other warnings (not line 1090) you see are OK.
Adrian
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-