X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..9e58eb5674cfac859568c9a4b1030012e1f0eb64:/wxPython/docs/MigrationGuide.txt?ds=sidebyside diff --git a/wxPython/docs/MigrationGuide.txt b/wxPython/docs/MigrationGuide.txt index 638e5cc9b3..b0bd3917e1 100644 --- a/wxPython/docs/MigrationGuide.txt +++ b/wxPython/docs/MigrationGuide.txt @@ -275,6 +275,11 @@ that are affected are listed here:: Blit(destPt, size, sourceDC, srcPt, rop = wxCOPY, useMask = FALSE, srcPtMask = wx.DefaultPosition) + SetClippingRegionXY SetClippingRegion(x, y, width, height) + SetClippingRegion(point, size) + SetClippingRect(rect) + SetClippingRegionAsRegion(region); + If you have code that draws on a DC you **will** get errors because of these changes, but it should be easy to fix the code. You can either @@ -389,5 +394,14 @@ GetSystemColour, GetSystemFont and GetSystemMetric have also gone into the bit-bucket. Use GetColour, GetFont and GetMetric instead. +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 +to zero. If you want to disable the setting (so it matches the old +default) then you need to use the new wx.FULL_REPAINT_ON_RESIZE style +flag otherwise only the freshly exposed areas of the window will be +refreshed. +wxPyTypeCast has been removed. Since we've had the OOR (Original +Object Return) for a couple years now there should be no need to use +wxPyTypeCast at all.