ui/cocoa/ListDelegate.m

changeset 1057
b0bc313dea43
parent 712
9693f447a0c7
equal deleted inserted replaced
1056:541cec5e913c 1057:b0bc313dea43
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;

mercurial