Re: [Pyobjc-dev] Proper way to call NSDivideRect?
Brought to you by:
ronaldoussoren
|
From: Jonathan S. <sa...@gm...> - 2007-12-18 05:51:53
|
Try this: use None in place of the pass-by-reference arguments; IIRC it's killed this error for me recently. I'm guessing that the bridge likes to have all arguments in order now, using None as a placeholder for pass-by-reference arguments. lowerEdgeRect, ignoreme = NSDivideRect(self.currentCellFrame(), None, None, lowerRectEdge) Experts? :) Jonathan On Dec 17, 2007, at 9:46 PM, Michael McCracken wrote: > lowerEdgeRect, ignoreme = NSDivideRect(self.currentCellFrame(), 1.0, > lowerRectEdge) |