dabo Commit
Revision 1377
Date: 2005-09-23 16:59:13 -0700 (Fri, 23 Sep 2005)
Author: paul
Changed:
U trunk/dabo/dApp.py
U trunk/dabo/ui/uiwx/dDropdownList.py
Log:
Fixed dApp so that the user's initProperties() actually gets called.
Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py 2005-09-23 04:01:10 UTC (rev 1376)
+++ trunk/dabo/dApp.py 2005-09-23 23:59:13 UTC (rev 1377)
@@ -271,7 +271,9 @@
self.dbConnectionDefs = {}
self._appInfo = {}
+ super(dApp, self)._initProperties()
+
def _initDB(self):
"""Set the available connection definitions for use by the app.
Modified: trunk/dabo/ui/uiwx/dDropdownList.py
===================================================================
--- trunk/dabo/ui/uiwx/dDropdownList.py 2005-09-23 04:01:10 UTC (rev 1376)
+++ trunk/dabo/ui/uiwx/dDropdownList.py 2005-09-23 23:59:13 UTC (rev 1377)
@@ -26,13 +26,13 @@
# wx.Choice doesn't seem to emit lostfocus and gotfocus events.
Therefore,
# flush the value on every hit.
- self.bindEvent(dEvents.Hit, self.__onHit )
+ self.bindEvent(dEvents.Hit, self.__onHit)
def __onHit(self, evt):
self.flushValue()
-
+
class _dDropdownList_test(dDropdownList):
def initProperties(self):
self.Width = 250
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev