]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/docs/MigrationGuide.html
Hide page2 until it is needed
[wxWidgets.git] / wxPython / docs / MigrationGuide.html
index 9727ec6fad3c4c50eeb2fa805cc2a3b5e5bd91bf..90209ddcbe755b7997fd7fe313474cc3da4feb5e 100644 (file)
@@ -787,7 +787,7 @@ new Navigate method in the wx.Window class to help send the event and
 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