Author: johannes
Date: 2006-10-30 08:23:48 -0600 (Mon, 30 Oct 2006)
New Revision: 8951
Modified:
trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
Log:
No SegmentationFault when closing the form while not on the first
tab-page
Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py 2006-10-30 10:25:18 UTC
(rev 8950)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py 2006-10-30 14:23:48 UTC
(rev 8951)
@@ -323,7 +323,7 @@
"""
Display the normal mouse cursor on all windows of the application.
"""
- if wx.IsBusy:
+ if wx.IsBusy() and self.main_window.IsShown():
wx.EndBusyCursor()
# -------------------------------------------------------------------------
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue