X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ce9b1bfd310e61bbfb5ad1e568144fe9efc14f7..a3f4cbd6c8bf939765639251a82308f40f7f5514:/wxPython/docs/MigrationGuide.html diff --git a/wxPython/docs/MigrationGuide.html b/wxPython/docs/MigrationGuide.html index 9727ec6fad..ac48c34bed 100644 --- a/wxPython/docs/MigrationGuide.html +++ b/wxPython/docs/MigrationGuide.html @@ -628,10 +628,11 @@ making it more easily maintainable and less prone to getting rusty as there seems to be less and less interest in maintaining the C++ version.

There are only a few known compatibility issues at this time. First -is the location of OGL. The deprecated version is located in the -wx.ogl module, and the new version is in the wx.lib.ogl package. So -this just means that to start using the new version you need to adjust -your imports. So if your code currently has something like this:

+is that the ogl.DrawnShape has not been reimplemented yet. Next is the +location of OGL. The deprecated version is located in the wx.ogl +module, and the new version is in the wx.lib.ogl package. So this +just means that to start using the new version you need to adjust your +imports. So if your code currently has something like this:

 import wx
 import wx.ogl as ogl
@@ -787,7 +788,7 @@ new Navigate method in the wx.Window class to help send the event and
 it is used something like this:

 flags = wx.NavigationKeyEvent.IsForward
-if event.ShiftDown:
+if event.ShiftDown():
     flags = wx.NavigationKeyEvent.IsBackward
 if event.ControlDown():
     flags |= wx.NavigationKeyEvent.WinChange