Re: adjustPageWidthNew
Re: adjustPageWidthNew
- Subject: Re: adjustPageWidthNew
- From: Frédéric Testuz <email@hidden>
- Date: Sat, 29 Oct 2005 09:38:32 +0200
Le 28 oct. 05 à 21:27, John MacMullin a écrit :
I am trying to get my current NSView object to conform to the new
page width as the user determines from the pagelayout dialog.
NSSize printSizeOfPaper = [printInfo paperSize]; //This is the
new size
NSRect currentRect = [myView frame];
[myView adjustPageWidthNew: (float)printSizeOfPaper.width left:
NSMinX(currentRect) right: NSMaxX(currentRect) limit: (float)
printSizeOfPaper.width];
On the compile for the "adjustPageWidthNew", I continue to get the
following error: processCompany.m:63: error: incompatible type for
argument 3 of indirect function call.
I have checked the documents and header and it calls for a float.
No, it calls for a float * (note the asterisk
Frédéric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden