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

Method GetState

src/RealtimeEffectPanel.cpp:430–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 }
429
430 wxAccStatus GetState(int childId, long* state) override
431 {
432 if(childId != wxACC_SELF)
433 return wxACC_NOT_IMPLEMENTED;
434
435 const auto window = GetWindow();
436 if(!window->IsEnabled())
437 *state = wxACC_STATE_SYSTEM_UNAVAILABLE;
438 else
439 {
440 *state = wxACC_STATE_SYSTEM_FOCUSABLE;
441 if(window->HasFocus())
442 *state |= wxACC_STATE_SYSTEM_FOCUSED;
443 }
444 return wxACC_OK;
445 }
446 };
447#endif
448

Callers

nothing calls this directly

Calls 1

IsEnabledMethod · 0.45

Tested by

no test coverage detected