[wxpython-users] Bug in HtmlWindow?
Jesse Aldridge
jessealdridge at gmail.com
Sun Apr 13 23:32:35 PDT 2008
I think there's a bug in HtmlWindow as demonstrated below.
The code works as expected if the HtmlWindow line is commented out.
Ubuntu 8.04
wxPython 2.8.7.1 (gtk2-unicode)
____________
import time, threading
import wx, wx.html
def show_new_frame():
print "showing new frame"
new_frame =3D wx.Frame(None, title=3D"New Frame")
wx.html.HtmlWindow( new_frame )
new_frame.Show()
app =3D wx.App()
frame =3D wx.Frame(None, title=3D"First Frame")
frame.Show()
class Test_Thread( threading.Thread ):
def run(self):
time.sleep(1)
show_new_frame()
Test_Thread().start()
app.MainLoop()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
14/2cb436b8/attachment.htm
More information about the wxpython-users
mailing list