X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74c34d22773e39b13fe0502798494b38f261a9e5..37fff49cf1fa0306ba13d9ccc235c0c1c0ae3b62:/include/wx/mdi.h diff --git a/include/wx/mdi.h b/include/wx/mdi.h index 37f0fa5208..1f5d56e647 100644 --- a/include/wx/mdi.h +++ b/include/wx/mdi.h @@ -81,7 +81,7 @@ public: #if wxUSE_MENUS // return the pointer to the current window menu or NULL if we don't have // because of wxFRAME_NO_WINDOW_MENU style - wxMenu* GetWindowMenu() const { return m_windowMenu; }; + wxMenu* GetWindowMenu() const { return m_windowMenu; } // use the given menu instead of the default window menu // @@ -176,6 +176,11 @@ public: // level windows too virtual bool IsTopLevel() const { return false; } + // In all ports keyboard navigation must stop at MDI child frame level and + // can't cross its boundary. Indicate this by overriding this function to + // return true. + virtual bool IsTopNavigationDomain() const { return true; } + protected: wxMDIParentFrame *m_mdiParent; };