PR61: Added python shebangs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2014-01-23 00:44:14 +00:00
parent 4a196fafe6
commit 558fcfa5a3
258 changed files with 775 additions and 438 deletions

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python
import random
import time
@@ -36,7 +37,7 @@ class CalcBarThread:
# no manipulation of UI objects from the worker thread.
evt = UpdateBarEvent(barNum = self.barNum, value = int(self.val))
wx.PostEvent(self.win, evt)
sleeptime = (random.random() * 2) + 0.5
time.sleep(sleeptime/4)
@@ -126,8 +127,6 @@ class GraphWindow(wx.Window):
pass
#----------------------------------------------------------------------
class TestFrame(wx.Frame):
@@ -232,8 +231,6 @@ def runTest(frame, nb, log):
overview = """\
The main issue with multi-threaded GUI programming is the thread safty
of the GUI itself. On most platforms the GUI is not thread safe and