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:
parent
0cb7a6bdf2
commit
6a0d1166d9
|
@ -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);
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue