X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4942342c3e1788e1b92bf9e3c522cfa8a8a5c905..8bcf4c86f423035eca565571b4cbafd2e60e4c3d:/wxPython/docs/MigrationGuide.txt diff --git a/wxPython/docs/MigrationGuide.txt b/wxPython/docs/MigrationGuide.txt index bb274019e0..8e5da9fe2e 100644 --- a/wxPython/docs/MigrationGuide.txt +++ b/wxPython/docs/MigrationGuide.txt @@ -312,7 +312,7 @@ That's because if you are still importing from wxPython.wx then there are some classes defined there with Draw and etc. methods that have 2.4 compatible signatures. However if/when the old wxPython.wx namespace is removed then these classes will be removed too so you -should plam on migrating to the new namespace and new DC Draw methods +should plan on migrating to the new namespace and new DC Draw methods before that time. @@ -361,10 +361,9 @@ For example:: Sizers ------ -The hack allowing the old "option" keyword parameter has been -removed. If you use keyworkd args with wxSizer Add, Insert, or -Prepend then you will need to use the "proportion" name instead of -"option". +The hack allowing the old "option" keyword parameter has been removed. +If you use keyworkd args with wxSizer Add, Insert, or Prepend methods +then you will need to use the "proportion" name instead of "option". When adding a spacer to a sizer you now need to use a wxSize or a 2-integer sequence instead of separate width and height parameters. @@ -387,13 +386,12 @@ into a single extension module, the "core" module is now just a few extensions that are linked independently, and then merged together later into the main namespace via Python code. -Because of the above, the "internal" module names have changed, but -you shouldn't have been using them anyway so it shouldn't bother -you. ;-) +Because of the above and also because of the way the new SWIG works, +the "internal" module names have changed, but you shouldn't have been +using them anyway so it shouldn't bother you. ;-) -The wxPython.help module no longer exists and the classes therein are -now part of the core module imported with wxPython.wx or the wx -package. +The help module no longer exists and the classes therein are now part +of the core module imported with wxPython.wx or the wx package. wxPyDefaultPosition and wxPyDefaultSize are gone. Use the wxDefaultPosition and wxDefaultSize objects instead. @@ -414,3 +412,5 @@ 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. +If you use the old wxPython package and wxPython.wx namespace then +there are compatibility aliases for much of the above items.