X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/761b244f849d2cb0f1fa3560656ecb57dd5a3450..75e14ed5ee73dfdcee100d4d2aef84a247b5dde6:/wxPython/docs/MigrationGuide.txt diff --git a/wxPython/docs/MigrationGuide.txt b/wxPython/docs/MigrationGuide.txt index 761ec50b11..3828d4dc72 100644 --- a/wxPython/docs/MigrationGuide.txt +++ b/wxPython/docs/MigrationGuide.txt @@ -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 @@ -617,6 +619,14 @@ Similarly, the wxSystemSettings backwards compatibiility aliases for GetSystemColour, GetSystemFont and GetSystemMetric have also gone into the bit-bucket. Use GetColour, GetFont and GetMetric instead. +Use the Python True/False constants instead of the true, TRUE, false, +FALSE that used to be provided with wxPython. + +Use None instead of the ancient and should have been removed a long +time ago wx.NULL alias. + +wx.TreeCtrl no longer needs to be passed the cookie variable as the +2nd parameter. It still returns it though, for use with GetNextChild. The wx.NO_FULL_REPAINT_ON_RESIZE style is now the default style for all windows. The name still exists for compatibility, but it is set @@ -665,3 +675,8 @@ functions in wxPython for parameters that are expecting an integer. If the object is not already an integer then it will be asked to convert itself to one. A similar conversion fragment is in place for parameters that expect floating point values. + +**[Changed in 2.5.1.6]** The MaskedEditCtrl modules have been moved +to their own sub-package, wx.lib.masked. See the docstrings and demo +for changes in capabilities, usage, etc. +