summaryrefslogtreecommitdiff
path: root/table_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-19 23:25:51 -0500
committerPietro Gagliardi <[email protected]>2015-02-19 23:25:51 -0500
commit924352d76a2bdc54415c18246a57bf29322f7344 (patch)
tree68bb16c9ca35986e10fbcd7d41886f361e29ce42 /table_windows.go
parentcab2d934495949cadf5345f910339054f426ccea (diff)
Added tableSetSelection to the new Windows Table and hooked it up to the package ui Table.
Diffstat (limited to 'table_windows.go')
-rw-r--r--table_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table_windows.go b/table_windows.go
index ceca0eb..8cd28c5 100644
--- a/table_windows.go
+++ b/table_windows.go
@@ -78,7 +78,7 @@ func (t *table) Selected() int {
func (t *table) Select(index int) {
t.RLock()
defer t.RUnlock()
-//TODO C.tableSelectItem(t.hwnd, C.intptr_t(index))
+ C.tableSelectItem(t.hwnd, C.intptr_t(index))
}
func (t *table) OnSelected(f func()) {