]> git.saurik.com Git - wxWidgets.git/commitdiff
More about the sizer changes
authorRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 18:13:35 +0000 (18:13 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 18:13:35 +0000 (18:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/docs/CHANGES.txt
wxPython/docs/MigrationGuide.txt

index d81a090d65d6426f0a48074de42df13e9083a06d..d13758551e5f9c848c611bf9b1cbcc5991e0237c 100644 (file)
@@ -9,7 +9,9 @@ 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()
+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.
 
 
 2.5.1.5
index 761ec50b11dd9ff41266ab1848d021c804ad944b..bf4e356de246727ac149346aeeab585ff7023331 100644 (file)
@@ -456,7 +456,9 @@ 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().
+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