diff --git a/src/Theme.h b/src/Theme.h index e41213dad..68d5b3f71 100644 --- a/src/Theme.h +++ b/src/Theme.h @@ -186,6 +186,7 @@ class auStaticText : public wxWindow public: auStaticText(wxWindow* parent, wxString text); void OnPaint(wxPaintEvent & evt); + bool AcceptsFocus() const override { return false; } DECLARE_EVENT_TABLE(); };