Ed:  Here is a snip:

"""
Supposedly a progress dialog does not work well on its own because
events get screwed up when there isn't a main loop. Try this:

import wx

app = wx.PySimpleApp()

win = wx.Frame(None, -1, "Test Progress Dialog")
button = wx.Button(win, -1, "start download")

def on_button_click(evt):
        #my wx.ProgressDialog code here
"""

Running it in the frame did the trick!  It just doesn't work by itself.

Thanks,

Jeff

Jeff Johnson
[EMAIL PROTECTED]
SanDC, Inc.
623-582-0323
Fax 623-869-0675

Ed Leafe wrote:
> On Nov 9, 2007, at 9:32 PM, Jeff Johnson wrote:
> 
>> Ed:  I will look into it.  Thanks for your help!
> 
>       If you don't find anything, you should post a question on the  
> wxPython list. At the very least, they need to update their docs.
> 
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
> 
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to