X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da2c76724f12e99b0d0e5d822b756b76e321746b..dcbbda5451ead669e94e17a2a4d206295bed183b:/wxPython/docs/MigrationGuide.txt diff --git a/wxPython/docs/MigrationGuide.txt b/wxPython/docs/MigrationGuide.txt index 70ee5f4a05..24bbb6540e 100644 --- a/wxPython/docs/MigrationGuide.txt +++ b/wxPython/docs/MigrationGuide.txt @@ -863,3 +863,21 @@ 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) + +