X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95fed4d84b9ae854103f1e1b5b2032d733241c88..cfe5e918e6cbb28da4e4041b3fccfdaf538b247c:/wxPython/docs/MigrationGuide.txt diff --git a/wxPython/docs/MigrationGuide.txt b/wxPython/docs/MigrationGuide.txt index dabb3c090c..bf4e356de2 100644 --- a/wxPython/docs/MigrationGuide.txt +++ b/wxPython/docs/MigrationGuide.txt @@ -454,9 +454,11 @@ wrappers will figure out what to do. 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 like the old behavior but you +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(). +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. PlatformInfo