]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/tests/alternateThread.py
2 from threading
import Thread
5 print "starting window thread"
7 from wxPython
.wx
import * # <-- the wxWin DLL is not loaded until here
10 frame
= wxFrame(None, -1, "Hello", size
=(400,200))
12 EVT_SIZE(frame
, OnFrameSize
)
14 print "finishing window thread"
23 print "starting counter thread"
29 print "finishing counter thread"
34 ct
= Thread(target
=counter
)
35 wt
= Thread(target
=test_a_window
)