| 21 | } |
| 22 | |
| 23 | char vtkContextKeyEvent::GetKeyCode() const |
| 24 | { |
| 25 | if (this->Interactor) |
| 26 | { |
| 27 | return this->Interactor->GetKeyCode(); |
| 28 | } |
| 29 | else |
| 30 | { |
| 31 | // This should never happen, perhaps there is a better return value? |
| 32 | return 0; |
| 33 | } |
| 34 | } |
| 35 | VTK_ABI_NAMESPACE_END |
no outgoing calls