Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- From: Donald G Porter <dgp@xxxxxxxx>
- Date: Fri, 29 Feb 2008 11:04:25 -0500
sbromle wrote:
I'm getting a crash moving from Tk8.4 to Tk8.4 on the call
Tk_PhotoSetSize().
I assume that's a typo and you are migrating from Tk 8.4 to Tk 8.5.
See TIP 116 (http://tip.tcl.tk/116) and the Tk 8.5 documentation
for Tk_PhotoSetSize() (http://www.tcl.tk/man/tcl8.5/TkLib/FindPhoto.htm)
for details on how to use the -DUSE_PANIC_ON_PHOTO_ALLOC_FAILURE
directive as a migration tool when compiling your code.
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.
- Follow-Ups:
- Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- From: sbromle
- Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- References:
- Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- From: sbromle
- Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- Prev by Date: Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- Next by Date: <treectrlWidget> item bbox doesn't work
- Previous by thread: Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- Next by thread: Re: Tk8.5: Tk_PhotoSetSize vs Tk_PhotoSetSize_Panic
- Index(es):