dabo Commit
Revision 3140
Date: 2007-05-27 08:20:08 -0700 (Sun, 27 May 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3140
Changed:
U trunk/dabo/ui/uiwx/dDialog.py
Log:
Fixed the setting of the _baseClass attribute; it was getting overwritten to
the superclass value.
Diff:
Modified: trunk/dabo/ui/uiwx/dDialog.py
===================================================================
--- trunk/dabo/ui/uiwx/dDialog.py 2007-05-27 03:36:50 UTC (rev 3139)
+++ trunk/dabo/ui/uiwx/dDialog.py 2007-05-27 15:20:08 UTC (rev 3140)
@@ -43,9 +43,6 @@
def _afterInit(self):
self.MenuBarClass = None
self.Sizer = dabo.ui.dSizer("V")
-# self.mainPanel = mp = dabo.ui.dPanel(self)
-# self.Sizer.append1x(mp)
-# mp.Sizer = dabo.ui.dSizer("V")
super(dDialog, self)._afterInit()
self.bindKey("esc", self._onEscape)
@@ -181,7 +178,7 @@
"Determines if the dialog is shown modal (default) or
modeless. (bool)")
ReleaseOnEscape = property(_getReleaseOnEscape, _setReleaseOnEscape,
None,
- "Determines if the <Esc> key releases the dialog (the
default).")
+ "Determines if the <Esc> key releases the dialog.
Default=True. (bool)")
DynamicAutoSize = makeDynamicProperty(AutoSize)
@@ -200,9 +197,9 @@
pressed "OK" or not.
"""
def __init__(self, parent=None, properties=None, *args, **kwargs):
+ super(dOkCancelDialog, self).__init__(parent=parent,
properties=properties, *args, **kwargs)
self._baseClass = dOkCancelDialog
self._accepted = False
- super(dOkCancelDialog, self).__init__(parent=parent,
properties=properties, *args, **kwargs)
def _addControls(self):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]