+
+ # Turn off the tab-traversal style that is automatically
+ # turned on by wx.SplitterWindow. We do this because on
+ # Windows the event for Ctrl-Enter is stolen and used as a
+ # navigation key, but the Shell window uses it to insert lines.
+ style = self.GetWindowStyle()
+ self.SetWindowStyle(style & ~wx.TAB_TRAVERSAL)
+