MCPcopy Create free account
hub / github.com/audacity/audacity / Updated

Method Updated

src/TrackPanelAx.cpp:135–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void TrackPanelAx::Updated()
136{
137#if wxUSE_ACCESSIBILITY
138 auto pFocus = mwFocus.lock();
139 if (!pFocus)
140 return;
141
142 auto t = pFocus->GetFocus();
143 mTrackName = true;
144
145 // The object_focus event is only needed by Window-Eyes
146 // and can be removed when we cease to support this screen reader.
147 NotifyEvent(wxACC_EVENT_OBJECT_FOCUS,
148 GetWindow(),
149 wxOBJID_CLIENT,
150 pFocus->TrackNum(t));
151
152 NotifyEvent(wxACC_EVENT_OBJECT_NAMECHANGE,
153 GetWindow(),
154 wxOBJID_CLIENT,
155 pFocus->TrackNum(t));
156#endif
157}
158
159void TrackPanelAx::MessageForScreenReader(const TranslatableString& message)
160{

Callers

nothing calls this directly

Calls 3

TrackNumMethod · 0.80
lockMethod · 0.45
GetFocusMethod · 0.45

Tested by

no test coverage detected