X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da2c76724f12e99b0d0e5d822b756b76e321746b..ae601e32a8877d7968fd4552ea7857be11a4d15c:/wxPython/docs/MigrationGuide.html diff --git a/wxPython/docs/MigrationGuide.html b/wxPython/docs/MigrationGuide.html index 3f50b7f2c8..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 @@ -777,6 +778,22 @@ for changes in capabilities, usage, etc. and will raise a DeprecationWarning if used. The main wx.Mask constructor has been modified to be compatible with wx.MaskColour so you should use it instead. +[Changed in 2.5.2.x] In wx.TextCtrls that have the +wx.TE_PROCESS_TAB style the TAB key will be treated like an ordinary +character and will not cause any tab traversal navigation at all. If +you use this style but would still like to have the normal tab +traversal take place then you should send your own +wx.NavigationKeyEvent from the wx.EVT_KEY_DOWN handler. There is a +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(): + flags = wx.NavigationKeyEvent.IsBackward +if event.ControlDown(): + flags |= wx.NavigationKeyEvent.WinChange +self.Navigate(flags) +