dabo Commit
Revision 4530
Date: 2008-09-26 13:03:13 -0700 (Fri, 26 Sep 2008)
Author: Nate
Trac: http://svn.dabodev.com/trac/dabo/changeset/4530
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Removed more hack code for versions below 2.8 as we aren't supporting them
anymore.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2008-09-25 23:05:37 UTC (rev 4529)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2008-09-26 20:03:13 UTC (rev 4530)
@@ -145,14 +145,6 @@
del self._preInitProperties["style"]
# This is needed because these classes require a
'parent' param.
kwargs["parent"] = parent
- elif isinstance(self, dToggleButton.dToggleButton):
- version = wx.VERSION
- major = version[0]
- minor = version[1]
- if major == 2 and minor < 7:
- # versions prior to 2.7 had the id parameter as
ID, unfortunately.
- self._preInitProperties["ID"] =
self._preInitProperties["id"]
- del self._preInitProperties["id"]
# This is needed when running from a saved design file
self._extractKey((properties, self._properties),
"designerClass")
# This attribute is used when saving code with a design file
_______________________________________________
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/[EMAIL PROTECTED]