dabo Commit Revision 1888 Date: 2006-01-31 18:16:02 -0800 (Tue, 31 Jan 2006) Author: ed
Changed: U trunk/dabo/ui/uiwx/dFormMixin.py
Log: OK, forgot about that old 'dead object' problem when using callAfter. This fixes that.
Diff: Modified: trunk/dabo/ui/uiwx/dFormMixin.py =================================================================== --- trunk/dabo/ui/uiwx/dFormMixin.py 2006-02-01 02:09:28 UTC (rev 1887) +++ trunk/dabo/ui/uiwx/dFormMixin.py 2006-02-01 02:16:02 UTC (rev 1888) @@ -483,9 +483,9 @@ """Refreshed the values of the controls, and also calls the wxPython Refresh to update the form. """ - self.Refresh() try: self.refreshControls() + self.Refresh() except dabo.ui.deadObjectException: # This can happen if a form is released when there is a # pending callAfter() refresh.
©2006 Ed Leafe |