From 2ccf76cd1f54092755386a97e61090211fe8c355 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 9 Oct 2007 16:03:38 +0000 Subject: [PATCH] Give wxMac's wxStaticBox an AcceptsFocus method git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/statbox.h | 4 ++++ version-script.in | 6 ++++++ 2 files changed, 10 insertions(+) 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: