From: Robin Dunn Date: Tue, 9 Oct 2007 16:04:16 +0000 (+0000) Subject: Give wxMac's wxStaticBox an AcceptsFocus method X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b9cd2cb909f81f8833c6af121849676236646430 Give wxMac's wxStaticBox an AcceptsFocus method git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/statbox.h b/include/wx/mac/carbon/statbox.h index 11fee4c9b4..f0b2bbd7b2 100644 --- a/include/wx/mac/carbon/statbox.h +++ b/include/wx/mac/carbon/statbox.h @@ -44,6 +44,8 @@ class WXDLLEXPORT wxStaticBox: public wxControl virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; virtual void GetBordersForSizer(int *borderTop, int *borderOther) const; + + virtual bool AcceptsFocus() const { return false; } }; #endif