Whoops, found this too late. See my other reply about the actual cause of the deadlock though.
Deprecation warnings are unfortunately only generated when calling a method, not when they are overridden. -KP On Aug 22, 2011, at 8:24 PM, Graham Cox wrote: > > On 23/08/2011, at 1:00 PM, Graham Cox wrote: > >> - (void) printShowingPrintPanel:(BOOL) flag > > > Ok, I found the problem. > > This method has been deprecated since 10.4. I've replaced it with > -printOperationWithSettings:error: and all is well. Though deprecated, there > seems to still be a compatibility code path that supports this within > NSDocument, but that compatibility code path is not in itself compatible with > the new document saving malarkey. So, it's Apple's bug, but perhaps not one > they would care about at this stage. > > What's a bit strange is that no deprecation warning came up for this method > even though I'm targeting 10.6 using the 10.7 SDK. > > > --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com