commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r8555 - trunk/gnue-forms/src/uidrivers/wx26


From: reinhard
Subject: [gnue] r8555 - trunk/gnue-forms/src/uidrivers/wx26
Date: Tue, 8 Aug 2006 16:38:50 -0500 (CDT)

Author: reinhard
Date: 2006-08-08 16:38:49 -0500 (Tue, 08 Aug 2006)
New Revision: 8555

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py
Log:
Start main loop only once.


Modified: trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py     2006-08-08 21:32:32 UTC 
(rev 8554)
+++ trunk/gnue-forms/src/uidrivers/wx26/UIdriver.py     2006-08-08 21:38:49 UTC 
(rev 8555)
@@ -191,7 +191,9 @@
     if self.__splash is not None:
       self.__splash.Close ()
 
-    self.app.MainLoop ()
+    # Main loop might already be running if this has been called with runForm()
+    if not self.app.IsMainLoopRunning():
+        self.app.MainLoop ()
 
     assert gLeave (6)
 





reply via email to

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