| 57 _onactivate(&event, _onactivatedata); |
57 _onactivate(&event, _onactivatedata); |
| 58 } |
58 } |
| 59 } |
59 } |
| 60 |
60 |
| 61 - (void) tableViewSelectionDidChange:(NSNotification *) notification { |
61 - (void) tableViewSelectionDidChange:(NSNotification *) notification { |
| 62 if(_onselection) { |
62 if(_onselection && ui_selection_events_is_enabled()) { |
| 63 UiListSelection sel = ui_tableview_selection(_tableview); |
63 UiListSelection sel = ui_tableview_selection(_tableview); |
| 64 |
64 |
| 65 UiEvent event; |
65 UiEvent event; |
| 66 event.obj = _obj; |
66 event.obj = _obj; |
| 67 event.window = event.obj->window; |
67 event.window = event.obj->window; |