X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/761b244f849d2cb0f1fa3560656ecb57dd5a3450..5ce4d9fa3788e3588105437688590d8490e557c8:/wxPython/docs/CHANGES.txt diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index d81a090d65..2b8008fbcb 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -5,11 +5,24 @@ Recent Changes for wxPython ------- wx.ADJUST_MINSIZE is now the default behaviour for window items in -sizers. This means that the item's GetAdjustedBestSize will be called -when calculating layout and the return value from that will be used -for the minimum size. Added wx.FIXED_MINSIZE flag for when you would -like the old behavior but you should only need it when your desired -size is smaller than the item's GetBestSize() +sizers. This means that the item's GetMinSize and/or GetBestSize will +be called when calculating layout and the return value from that will +be used for the minimum size. The wx.FIXED_MINSIZE flag was added +that will cause the sizer to *not* call window methods to determine +the new best size, instead the minsize that the window had when added +to the sizer (or the size the window was created with) will always be +used. When a window is added to a sizer it's initial size, if any, is +set as the window's minimal size using SetSizeHints if there isn't +already a minimal size. + +Added some convenience methods to wx.Bitmap: SetSize, GetSize, and +wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence) +object too. Similar changes were done for wx.Image as well. + +Added new MaskedEditControl code from Will Sadkin. The modules are +now locaed in their own sub-package, wx.lib.masked. Demos updated. + + 2.5.1.5