From 4221549ec9cdbcd51ac0933a1acf09c677459a37 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Wed, 16 May 2018 14:10:53 +0100 Subject: [PATCH] NumericTextCtrl: fix minor bug with NVDA screen reader Problem: with using up/down arrow NVDA reads the updated field twice. Fix: remove generation of an unnecessary event. --- src/widgets/NumericTextCtrl.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/widgets/NumericTextCtrl.cpp b/src/widgets/NumericTextCtrl.cpp index dc066c581..a5e8a095a 100644 --- a/src/widgets/NumericTextCtrl.cpp +++ b/src/widgets/NumericTextCtrl.cpp @@ -1857,10 +1857,6 @@ void NumericTextCtrl::Updated(bool keyup /* = false */) #if wxUSE_ACCESSIBILITY if (!keyup) { - GetAccessible()->NotifyEvent(wxACC_EVENT_OBJECT_NAMECHANGE, - this, - wxOBJID_CLIENT, - mFocusedDigit + 1); SetFieldFocus(mFocusedDigit); } #endif