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

Method GetState

libraries/lib-wx-init/HtmlWindow.cpp:261–270  ·  view source on GitHub ↗

Returns a state constant.

Source from the content-addressed store, hash-verified

259
260// Returns a state constant.
261wxAccStatus HtmlWindowAx::GetState(int WXUNUSED(childId), long* state)
262{
263 HtmlWindow *hw = wxDynamicCast( GetWindow(), HtmlWindow );
264
265 *state = wxACC_STATE_SYSTEM_FOCUSABLE;
266
267 *state |= ( hw == wxWindow::FindFocus() ? wxACC_STATE_SYSTEM_FOCUSED : 0 );
268
269 return wxACC_OK;
270}
271
272// Returns a localized string representing the value for the object
273// or child.

Callers

nothing calls this directly

Calls 1

FindFocusFunction · 0.85

Tested by

no test coverage detected