]> git.saurik.com Git - wxWidgets.git/commitdiff
Add tab methods to NavigationKeyEvent
authorRobin Dunn <robin@alldunn.com>
Sat, 19 Feb 2005 22:39:17 +0000 (22:39 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 19 Feb 2005 22:39:17 +0000 (22:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_event.i

index b564f3ef593466edd104160ae6e79de5751a4995..23f7064cc7470f07ae73c31d4efc463822d72fbd 100644 (file)
@@ -1139,6 +1139,11 @@ public:
     bool IsWindowChange() const;
     void SetWindowChange(bool ischange);
 
+    // Set to true under MSW if the event was generated using the tab key.
+    // This is required for proper navogation over radio buttons
+    bool IsFromTab() const;
+    void SetFromTab(bool bIs);
+
     void SetFlags(long flags);
     
     // the child which has the focus currently (may be NULL - use
@@ -1149,7 +1154,8 @@ public:
     enum {
         IsBackward,
         IsForward,
-        WinChange
+        WinChange,
+        FromTab
     };
 };