From 8f0271018e86b7c1957e036ac2a983292ebd89c4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 13 Oct 2012 22:51:04 +0000 Subject: [PATCH] Remove unused wxNavigationEnabled::AcceptFocus() method. This doesn't seem to be ever called or used from anywhere else. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/containr.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/wx/containr.h b/include/wx/containr.h index d4eb907682..004ac56f12 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -223,11 +223,6 @@ public: BaseWindowClass::SetFocus(); } - void AcceptFocus(bool acceptFocus) - { - m_container.SetCanFocus(acceptFocus); - } - protected: #ifndef wxHAS_NATIVE_TAB_TRAVERSAL void OnNavigationKey(wxNavigationKeyEvent& event) @@ -271,10 +266,6 @@ public: \ virtual void RemoveChild(wxWindowBase *child); \ virtual void SetFocus(); \ void SetFocusIgnoringChildren(); \ - void AcceptFocus(bool acceptFocus) \ - { \ - m_container.SetCanFocus(acceptFocus); \ - } \ \ protected: \ wxControlContainer m_container -- 2.50.0