summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redo/table_windows.c2
-rw-r--r--redo/table_windows.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index 4c646c6..e3d157f 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -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);
diff --git a/redo/table_windows.go b/redo/table_windows.go
index 2976011..52d964f 100644
--- a/redo/table_windows.go
+++ b/redo/table_windows.go
@@ -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()
}