dabo Commit
Revision 5033
Date: 2009-02-07 10:53:04 -0800 (Sat, 07 Feb 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5033
Changed:
U trunk/dabo/ui/uiwx/dFormMixin.py
Log:
MDI forms, at least on win, are resizable even without the resize_border flag.
Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py 2009-02-07 03:21:03 UTC (rev 5032)
+++ trunk/dabo/ui/uiwx/dFormMixin.py 2009-02-07 18:53:04 UTC (rev 5033)
@@ -649,7 +649,7 @@
def _getBorderResizable(self):
- return self._hasWindowStyleFlag(wx.RESIZE_BORDER)
+ return (self.MDI or self._hasWindowStyleFlag(wx.RESIZE_BORDER))
def _setBorderResizable(self, value):
self._delWindowStyleFlag(wx.RESIZE_BORDER)
_______________________________________________
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]