From 447a269e787d59d949b7403488100aa3ebf57bc6 Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Thu, 22 Oct 2009 02:25:32 +0000 Subject: [PATCH] FIX: Bug in the progress dialog from Load Dicom's, in the Windows XP 64 Bits with wxPython 2.8.10 --- invesalius/gui/dialogs.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index 3f85433..9a65633 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -85,7 +85,12 @@ class ProgressDialog(object): def Update(self, value, message): if(int(value) != self.maximum): - self.dlg.Update(value,message) + try: + self.dlg.Update(value,message) + #TODO: + #Exception in the Windows XP 64 Bits with wxPython 2.8.10 + except(wx._core.PyAssertionError): + pass return True else: return False -- libgit2 0.21.2