|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Cocoa Tk warning messageWhen I run Tk Cocoa 8.5.7 on MacOS X 10.6.1 I get the following
message on stderr .. setCanCycle: is deprecated. Please use setCollectionBehavior instead Is it a known issue? I can't find anything about in the SF tk bug tracker. Steve ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Cocoa Tk warning messageOn 11/4/09 4:55 AM, Steve Landers wrote:
> When I run Tk Cocoa 8.5.7 on MacOS X 10.6.1 I get the following > message on stderr .. > > setCanCycle: is deprecated. Please use setCollectionBehavior instead > > Is it a known issue? I can't find anything about in the SF tk bug > tracker. > > Steve > I've gotten reports of this warning, but I'm not sure it's a problem. Perhaps Daniel can advise when he's back from leave as maintainer. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Cocoa Tk warning messageHi Steve,
On Wed, Nov 4, 2009 at 01:55, Steve Landers <steve@...> wrote: > When I run Tk Cocoa 8.5.7 on MacOS X 10.6.1 I get the following > message on stderr .. > > setCanCycle: is deprecated. Please use setCollectionBehavior instead the warning is harmless, but see -setCanCycle: usage below (from tkMacOSXWm.c ApplyWindowAttributeFlagChanges()): i.e. setCanCycle use on 10.6 occurs only if you build your binary on 10.5 but deploy on 10.6 As mentioned in the README IIRC, the recommendation is to build on the highest OS release you want to be able to run on (i.e. 10.6) with the lowest MACOSX_DEPLOYMENT_TARGET setting you need to support (e.g. 10.5). This ensures that you get the benefit of any 10.6-specific features in the codebase, like the use of NSWindowCollectionBehaviorParticipatesInCycle below. Cheers, Daniel #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 if (newAttributes & kWindowDoesNotCycleAttribute) { b |= NSWindowCollectionBehaviorIgnoresCycle; } else { b |= NSWindowCollectionBehaviorParticipatesInCycle; } #endif [macWindow setCollectionBehavior:b]; #if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 if (((changedAttributes & kWindowDoesNotCycleAttribute) || initial) #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 && tkMacOSXMacOSXVersion < 1060 #endif ) { [macWindow setCanCycle: !(newAttributes & kWindowDoesNotCycleAttribute)]; } #endif ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
| Free embeddable forum powered by Nabble | Forum Help |