summaryrefslogtreecommitdiff
path: root/wintable/checkboxes.h
diff options
context:
space:
mode:
Diffstat (limited to 'wintable/checkboxes.h')
-rw-r--r--wintable/checkboxes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wintable/checkboxes.h b/wintable/checkboxes.h
index 75ad9f4..b44a0d0 100644
--- a/wintable/checkboxes.h
+++ b/wintable/checkboxes.h
@@ -226,6 +226,8 @@ HANDLER(checkboxMouseUpHandler)
// TODO redraw the whole cell?
if (InvalidateRect(t->hwnd, &r, TRUE) == 0)
panic("error redrawing Table checkbox after mouse up");
+ // TODO really only the row? no way to specify column too?
+ NotifyWinEvent(EVENT_OBJECT_STATECHANGE, t->hwnd, OBJID_CLIENT, rc.row);
*lResult = 0;
return TRUE;
wrongUp: