From: Vadim Zeitlin Date: Sun, 21 Oct 2001 00:25:34 +0000 (+0000) Subject: fixed "toolbar getting focus" bug for the (N+1)-th time X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/33b12a3ab38bfe6b3e4b3a27327df3e17adbde1f?ds=sidebyside 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 --- 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