[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8865 - trunk/gnue-forms/src
From: |
reinhard |
Subject: |
[gnue] r8865 - trunk/gnue-forms/src |
Date: |
Thu, 19 Oct 2006 06:53:13 -0500 (CDT) |
Author: reinhard
Date: 2006-10-19 06:53:12 -0500 (Thu, 19 Oct 2006)
New Revision: 8865
Modified:
trunk/gnue-forms/src/GFForm.py
Log:
Fixed exception on form startup under wx.
Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py 2006-10-19 11:11:59 UTC (rev 8864)
+++ trunk/gnue-forms/src/GFForm.py 2006-10-19 11:53:12 UTC (rev 8865)
@@ -272,6 +272,11 @@
Called automatically during phaseInit(). It must happen after all
children have init'ed.
"""
+
+ # Set the current page in case the buildForm on UI side generates a
+ # _event_page_changed().
+ self._currentPage = self._layout._pageList[0]
+
# build the UI form
self._instance._uiinstance.buildForm(self, self.name)
@@ -352,6 +357,7 @@
tab. It makes sure that the logical focus follows the physical focus.
"""
+ print "event_page_changed"
try:
self._currentPage.focus_out()
except:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8865 - trunk/gnue-forms/src,
reinhard <=