summaryrefslogtreecommitdiff
path: root/wintable/new/select.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-22 20:15:10 -0500
committerPietro Gagliardi <[email protected]>2014-12-22 20:15:10 -0500
commit7ba7222976b1260065d633855830ffd20e153bf0 (patch)
treebdad516974e9664a530a768dc13122071e7f6ccb /wintable/new/select.h
parentcc165b48ff08ac93202446f5a10bb1ce4f095857 (diff)
Mostly done with the implementation of checkboxes!
Diffstat (limited to 'wintable/new/select.h')
-rw-r--r--wintable/new/select.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wintable/new/select.h b/wintable/new/select.h
index b0210fe..0539e52 100644
--- a/wintable/new/select.h
+++ b/wintable/new/select.h
@@ -101,6 +101,9 @@ noScroll:
}
}
+// TODO make this needless
+HANDLER(checkboxMouseDownHandler);
+
// TODO which WM_xBUTTONDOWNs?
HANDLER(mouseDownSelectHandler)
{
@@ -109,6 +112,8 @@ HANDLER(mouseDownSelectHandler)
rc = lParamToRowColumn(t, lParam);
// don't check if lParamToRowColumn() returned row -1 or column -1; we want deselection behavior
doselect(t, rc.row, rc.column);
+ // TODO separate this from here
+ checkboxMouseDownHandler(t, uMsg, wParam, lParam, lResult);
*lResult = 0;
return TRUE;
}