Added the wx.SizerFlags class, and also added AddF, InsertF and

PrependF methods to wx.Sizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-02-26 23:22:25 +00:00
parent df1a8b2e0c
commit f1cafba603
9 changed files with 4506 additions and 483 deletions

View File

@@ -16,6 +16,18 @@ module) and also as a non mix-in tool (using wx.lib.inspect.InspectionTool).
Add wx.lib.mixins.treemixin from Frank Niessink.
Added the wx.SizerFlags class, and also added AddF, InsertF and
PrependF methods to wx.Sizer. The wxSizerFlags class provides a
convienient and easier to read way to add items to a sizer. For
example, instead of writing::
sizer.Add(ctrl, 0, wx.EXPAND | wx.ALL, 10)
you can now write::
sizer.AddF(ctrl, wx.SizerFlags().Expand().Border(10))