Re: Threading and wx.....

2008-08-08 Thread Mike Driscoll
On Aug 8, 2:19 am, SamG <[EMAIL PROTECTED]> wrote: > On Aug 8, 12:01 pm, SamG <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > Im trying my hand at threading with wx applications. I have written > > the following code... > > > import wx > > from threading import Thread, Lock > > > class createWindow(

Re: Threading and wx.....

2008-08-08 Thread SamG
On Aug 8, 12:01 pm, SamG <[EMAIL PROTECTED]> wrote: > Hi, > > Im trying my hand at threading with wx applications. I have written > the following code... > > import wx > from threading import Thread, Lock > > class createWindow(Thread): > def __init__(self): > Thread.__init__(self) >

Threading and wx.....

2008-08-08 Thread SamG
Hi, Im trying my hand at threading with wx applications. I have written the following code... import wx from threading import Thread, Lock class createWindow(Thread): def __init__(self): Thread.__init__(self) self.lock = Lock() self.app=None def run(self):