commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8951 - trunk/gnue-forms/src/uidrivers/wx26/widgets


From: johannes
Subject: [gnue] r8951 - trunk/gnue-forms/src/uidrivers/wx26/widgets
Date: Mon, 30 Oct 2006 08:23:49 -0600 (CST)

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()
 
     # -------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]