From 33b12a3ab38bfe6b3e4b3a27327df3e17adbde1f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 21 Oct 2001 00:25:34 +0000 Subject: [PATCH] fixed "toolbar getting focus" bug for the (N+1)-th time git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/tbarbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index be2c52c70b..3f93a61e1d 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -412,8 +412,8 @@ public: // Do the toolbar button updates (check for EVT_UPDATE_UI handlers) virtual void DoToolbarUpdates(); - // don't want toolbars to accept the focus by tabbing to them - virtual bool AcceptsFocusFromKeyboard() const { return FALSE; } + // don't want toolbars to accept the focus + virtual bool AcceptsFocus() const { return FALSE; } protected: // to implement in derived classes -- 2.45.2