def Done(self):
    if (self.window is not None):
        try:
            self.window.SendMessage(self.UWM_DONE, 0, 0)
        except:
            pass
    if (self.proc is not None):
        self.proc.wait()
def Done(self):
    if (self.window is not None):
        try:
            self.window.SendMessage(self.UWM_DONE, 0, 0)
        except:
            pass
    if (self.proc is not None):
        self.proc.wait()