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).
| 2078 | // Return wxACC_NOT_SUPPORTED if there is no default action for this |
| 2079 | // window (e.g. an edit control). |
| 2080 | wxAccStatus 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. |
nothing calls this directly
no test coverage detected