X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ca6a5f04692678cd2d9f3ea0843fc3f5a0b254f..1fc8878582bcdab2a90b95fb713c4d088a0e2a57:/include/wx/tbarbase.h diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index aa19f52861..7abcc57a46 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -407,6 +407,9 @@ public: // Do the toolbar button updates (check for EVT_UPDATE_UI handlers) virtual void DoToolbarUpdates(); + // Don't want toolbars to accept the focus + bool AcceptsFocus() const { return FALSE; } + protected: // to implement in derived classes // ------------------------------- @@ -464,6 +467,7 @@ protected: private: DECLARE_EVENT_TABLE() + DECLARE_CLASS(wxToolBarBase) }; #endif