summaryrefslogtreecommitdiff
path: root/table_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-19 22:58:17 -0500
committerPietro Gagliardi <[email protected]>2015-02-19 22:58:17 -0500
commitcab2d934495949cadf5345f910339054f426ccea (patch)
tree41d9e85b1393bda18d0075e8ad7376ddba22e5b1 /table_windows.go
parent6b9f1f282fc0aeb2654538a60a6f81dd99421ae1 (diff)
Added tableGetSelection to the new Windows Table and hooked it up to package ui's Table.
Diffstat (limited to 'table_windows.go')
-rw-r--r--table_windows.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/table_windows.go b/table_windows.go
index 7bd9df0..ceca0eb 100644
--- a/table_windows.go
+++ b/table_windows.go
@@ -72,8 +72,7 @@ func (t *table) Unlock() {
func (t *table) Selected() int {
t.RLock()
defer t.RUnlock()
-//TODO return int(C.tableSelectedItem(t.hwnd))
- return -1
+ return int(C.tableSelectedItem(t.hwnd))
}
func (t *table) Select(index int) {