Returns a state constant.
| 259 | |
| 260 | // Returns a state constant. |
| 261 | wxAccStatus 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. |
nothing calls this directly
no test coverage detected