This commit is contained in:
Alex Clark 2014-06-22 20:49:42 -04:00
parent 4b2bc94b19
commit 0cbf318004

View File

@ -10,6 +10,7 @@ However, if you cannot get the this to work on your platform, you
can do it in the old way: can do it in the old way:
Adding Tkinter support Adding Tkinter support
----------------------
1. Compile Python's _tkinter.c with the WITH_APPINIT and WITH_PIL 1. Compile Python's _tkinter.c with the WITH_APPINIT and WITH_PIL
flags set, and link it with tkImaging.c and tkappinit.c. To flags set, and link it with tkImaging.c and tkappinit.c. To
@ -74,7 +75,7 @@ drivers take care of the rest.
If you have Tk 4.1 or Tk 8.0b1, you don't have to apply this If you have Tk 4.1 or Tk 8.0b1, you don't have to apply this
patch! It only applies to Tk 4.2, Tk 8.0a[12] and Tk 8.0b2. patch! It only applies to Tk 4.2, Tk 8.0a[12] and Tk 8.0b2.
In win/tkWinImage.c, change the following line in XCreateImage:: In ``win/tkWinImage.c``, change the following line in ``XCreateImage``::
imagePtr->bits_per_pixel = depth; imagePtr->bits_per_pixel = depth;