dabo Commit
Revision 4623
Date: 2008-10-29 10:18:51 -0700 (Wed, 29 Oct 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4623
Changed:
U trunk/dabo/ui/uiwx/dPageFrameMixin.py
Log:
Improved caption handling for inserted pages.
Diff:
Modified: trunk/dabo/ui/uiwx/dPageFrameMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPageFrameMixin.py 2008-10-29 01:57:03 UTC (rev
4622)
+++ trunk/dabo/ui/uiwx/dPageFrameMixin.py 2008-10-29 17:18:51 UTC (rev
4623)
@@ -182,7 +182,9 @@
else:
self.InsertPage(pos, pg, text=caption)
self.layout()
- return self.Pages[pos]
+ insertedPage = self.Pages[pos]
+ insertedPage.Caption = caption
+ return insertedPage
def _insertPageOverride(self, pos, pgCls, caption, imgKey): pass
_______________________________________________
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]