Returns a localized string representing the value for the object or child.
| 2198 | // Returns a localized string representing the value for the object |
| 2199 | // or child. |
| 2200 | wxAccStatus MeterAx::GetValue(int WXUNUSED(childId), wxString* strValue) |
| 2201 | { |
| 2202 | MeterPanel *m = wxDynamicCast(GetWindow(), MeterPanel); |
| 2203 | |
| 2204 | if (!m || !m->mSlider) |
| 2205 | { |
| 2206 | return wxACC_NOT_IMPLEMENTED; |
| 2207 | } |
| 2208 | |
| 2209 | *strValue = m->mSlider->GetStringValue(); |
| 2210 | return wxACC_OK; |
| 2211 | } |
| 2212 | |
| 2213 | #endif |
no test coverage detected