it is used something like this:</p>
<pre class="literal-block">
flags = wx.NavigationKeyEvent.IsForward
-if event.ShiftDown:
+if event.ShiftDown():
flags = wx.NavigationKeyEvent.IsBackward
if event.ControlDown():
flags |= wx.NavigationKeyEvent.WinChange