Spawns TkLoop on import so people attempting to use TkPanels won't have them crash if they didn't specify want-tk #t

This commit is contained in:
Philip Saltzman 2005-04-10 23:41:25 +00:00
parent f5b204228e
commit 9b5ca04b9e

View File

@ -24,4 +24,5 @@ def spawnTkLoop():
# Spawn this task # Spawn this task
taskMgr.add(tkLoop, "tkLoop") taskMgr.add(tkLoop, "tkLoop")
taskMgr.remove('tkLoop')
spawnTkLoop()