Changed tableOnSelection() to tableSelectionChanged() in the Windows files for parity with the GTK+ and (next commit) Mac OS X files.

This commit is contained in:
Pietro Gagliardi 2014-08-20 21:37:44 -04:00
parent 0cb7a6bdf2
commit 6a0d1166d9
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
// if both old and new states have the same value for the selected bit, then the selection state did not change, regardless of selected or deselected
if ((nlv->uOldState & LVIS_SELECTED) == (nlv->uNewState & LVIS_SELECTED))
break;
tableOnSelected((void *) data);
tableSelectionChanged((void *) data);
return 0;
}
return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam);

View File

@ -187,8 +187,8 @@ func tableToggled(data unsafe.Pointer, row C.int, col C.int) {
panic(fmt.Errorf("tableSetHot() on non-checkbox at (%d, %d)", row, col))
}
//export tableOnSelected
func tableOnSelected(data unsafe.Pointer) {
//export tableSelectionChanged
func tableSelectionChanged(data unsafe.Pointer) {
t := (*table)(data)
t.selected.fire()
}