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

Method DoDefaultAction

src/widgets/MeterPanel.cpp:2080–2088  ·  view source on GitHub ↗

Performs the default action. childId is 0 (the action for this object) or > 0 (the action for a child). Return wxACC_NOT_SUPPORTED if there is no default action for this window (e.g. an edit control).

Source from the content-addressed store, hash-verified

2078// Return wxACC_NOT_SUPPORTED if there is no default action for this
2079// window (e.g. an edit control).
2080wxAccStatus MeterAx::DoDefaultAction(int WXUNUSED(childId))
2081{
2082 MeterPanel *m = wxDynamicCast(GetWindow(), MeterPanel);
2083
2084 if (m && m->mIsInput)
2085 m->StartMonitoring();
2086
2087 return wxACC_OK;
2088}
2089
2090// Retrieves the address of an IDispatch interface for the specified child.
2091// All objects must support this property.

Callers

nothing calls this directly

Calls 1

StartMonitoringMethod · 0.45

Tested by

no test coverage detected