]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
added operator-(const wxChar *, const wxCStrData&) to allow compilation of the code...
[wxWidgets.git] / include / wx / window.h
index 0a704011a7d4ec119c9df70b26e8dbda52b115a4..4c62a7d035ed58a1e3ae65e07469265efc24e722 100644 (file)
     #define wxHAS_NATIVE_ENABLED_MANAGEMENT
 #endif
 
-// This is defined when the underlying toolkit handles tab traversal natively
-// (currently this only works under GTK+ 2)
-#ifdef __WXGTK20__
-    #define wxHAS_NATIVE_TAB_TRAVERSAL
-#endif
-
 // ----------------------------------------------------------------------------
 // forward declarations
 // ----------------------------------------------------------------------------
@@ -598,6 +592,9 @@ public:
     bool CanAcceptFocusFromKeyboard() const
         { return AcceptsFocusFromKeyboard() && CanAcceptFocus(); }
 
+        // call this when the return value of AcceptsFocus() changes
+    virtual void SetCanFocus(bool WXUNUSED(canFocus)) { }
+
         // navigates inside this window
     bool NavigateIn(int flags = wxNavigationKeyEvent::IsForward)
         { return DoNavigateIn(flags); }