Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tkinterdnd2/TkinterDnD.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
except ImportError:
import tkinter
from tkinter import tix
import struct

TkdndVersion = None

Expand All @@ -44,7 +45,10 @@ def _require(tkroot):
elif platform.system()=="Linux":
tkdnd_platform_rep = "linux64"
elif platform.system()=="Windows":
tkdnd_platform_rep = "win64"
if struct.calcsize("P") * 8 == 32:
tkdnd_platform_rep = "win32"
else:
tkdnd_platform_rep = "win64"
else:
raise RuntimeError('Plaform not supported.')

Expand Down
Binary file added tkinterdnd2/tkdnd/win32/libtkdnd2.9.2.dll
Binary file not shown.
7 changes: 7 additions & 0 deletions tkinterdnd2/tkdnd/win32/pkgIndex.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package ifneeded tkdnd 2.9.2 \
"source \{$dir/tkdnd.tcl\} ; \
tkdnd::initialise \{$dir\} libtkdnd2.9.2[info sharedlibextension] tkdnd"

package ifneeded tkdnd::utils 2.9.2 \
"source \{$dir/tkdnd_utils.tcl\} ; \
package provide tkdnd::utils 2.9.2"
Loading