X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5644933fa64abf5a122e3f15d0a66d415a63c35b..4e4e981fe64ead425707119b3310547f1b9206d3:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 0a704011a7..4c62a7d035 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -62,12 +62,6 @@ #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); }