diff options
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) { |
