dabo Commit
Revision 2986
Date: 2007-03-26 12:11:19 -0700 (Mon, 26 Mar 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/2986

Changed:
U   trunk/dabo/ui/uiwx/dPemMixin.py

Log:
Return the caption without querying wx, if possible. 


Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py     2007-03-26 18:19:37 UTC (rev 2985)
+++ trunk/dabo/ui/uiwx/dPemMixin.py     2007-03-26 19:11:19 UTC (rev 2986)
@@ -1605,7 +1605,7 @@
        
        
        def _getCaption(self):
-               return self.GetLabel()
+               return getattr(self, "_caption", self.GetLabel())
        
        def _setCaption(self, val):
                # Force the value to string




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to