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