diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-19 22:58:17 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-19 22:58:17 -0500 |
| commit | cab2d934495949cadf5345f910339054f426ccea (patch) | |
| tree | 41d9e85b1393bda18d0075e8ad7376ddba22e5b1 /table_windows.go | |
| parent | 6b9f1f282fc0aeb2654538a60a6f81dd99421ae1 (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.go | 3 |
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) { |
