mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 12:30:07 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user