From c4c139398754a2f5253830b9b32e59bb2ee7a535 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Wed, 16 Aug 2017 13:39:16 +0100 Subject: [PATCH] Fix for 1720: static text items in selection bar in tab order Problem was introduced in commit dc05b94. Simple fix: auStaticText no longer accepts focus. --- src/Theme.h | 1 + 1 file changed, 1 insertion(+) 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(); };