diff --git a/include/wx/mac/carbon/statbox.h b/include/wx/mac/carbon/statbox.h index 11fee4c9b4..449806e765 100644 --- a/include/wx/mac/carbon/statbox.h +++ b/include/wx/mac/carbon/statbox.h @@ -44,6 +44,10 @@ class WXDLLEXPORT wxStaticBox: public wxControl virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; virtual void GetBordersForSizer(int *borderTop, int *borderOther) const; + +#if wxABI_VERSION >= 20807 + virtual bool AcceptsFocus() const { return false; } +#endif }; #endif diff --git a/version-script.in b/version-script.in index c7cdb4e3a6..b64f97ed4e 100644 --- a/version-script.in +++ b/version-script.in @@ -24,6 +24,12 @@ # and once released its version cannot be changed. +# public symbols added in 2.8.7 (please keep in alphabetical order): +@WX_VERSION_TAG@.7 { + global: + *wxStaticBox*AcceptsFocus*; +}; + # public symbols added in 2.8.5 (please keep in alphabetical order): @WX_VERSION_TAG@.5 { global: