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