my problem is what goes here to tell the program what to update, i know that if my progressDialog had a name (progresstest = wx.ProgressDialog()) i can reference that but how do i refrence something withought a name?
my problem is what goes here to tell the program what to update, i know that if my progressDialog had a name (progresstest = wx.ProgressDialog()) i can reference that but how do i refrence something withought a name?
Since copy2 is a nested function (unless your indentation got screwed up in transit) then you have access to the names in the enclosing scope when the body of copy2 is running. So you can just use self.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!