X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95fed4d84b9ae854103f1e1b5b2032d733241c88..425de63dcc3c6d7a9513e907c3e404252ea2d856:/wxPython/docs/CHANGES.txt?ds=sidebyside diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 4cc75feae6..af1127d3e8 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -7,9 +7,17 @@ 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_SIZE flag for when you would +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() +size is smaller than the item's GetBestSize. 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. + + 2.5.1.5