diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 11:30:48 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 11:30:48 -0400 |
| commit | 2c8bb7bc6d3b5614d53de957b4dca025c53a9cee (patch) | |
| tree | 047678d358c9b5e741f54c051a3bb580e704fd4f /redo/tab_windows.go | |
| parent | c1dc235d3b1bda6f4ddff92da1e348399c4a3e70 (diff) | |
Fixed Tabs on Windows having undesirable tab stop behavior. This doesn't work correctly in wine, and I can confirm for the first time that it actually is a bug in wine!
Diffstat (limited to 'redo/tab_windows.go')
| -rw-r--r-- | redo/tab_windows.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/redo/tab_windows.go b/redo/tab_windows.go index 43946b7..1d22887 100644 --- a/redo/tab_windows.go +++ b/redo/tab_windows.go @@ -23,9 +23,7 @@ type tab struct { func newTab() Tab { hwnd := C.newControl(C.xWC_TABCONTROL, C.TCS_TOOLTIPS | C.WS_TABSTOP, - // this is needed to have the tab contents be tab stop - // TODO this seems to override WS_TABSTOP; it seems I have to undo making the containers children - http://stackoverflow.com/questions/1153981/tab-order-in-tab-control-with-nested-dialogs-ws-ex-controlparent - C.WS_EX_CONTROLPARENT) + 0) // don't set WS_EX_CONTROLPARENT here; see uitask_windows.c t := &tab{ _hwnd: hwnd, } |
