diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-12 17:04:04 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-12 17:04:04 -0400 |
| commit | 2146ac2af3209f70df8c73e16d82bf866ea19c0b (patch) | |
| tree | b1fbcbc0f011dd3e6c2f48f6507b3bf113c6fd8d /redo | |
| parent | d060977cc7644be37774192f0015ce1e6a91b2aa (diff) | |
Added WS_EX_CONTROLPARENT to container and Tab on Windows.
Diffstat (limited to 'redo')
| -rw-r--r-- | redo/container_windows.c | 2 | ||||
| -rw-r--r-- | redo/tab_windows.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/redo/container_windows.c b/redo/container_windows.c index e393861..708bd9b 100644 --- a/redo/container_windows.c +++ b/redo/container_windows.c @@ -72,7 +72,7 @@ HWND newContainer(void *data) HWND hwnd; hwnd = CreateWindowExW( - 0, + WS_EX_CONTROLPARENT, containerclass, L"", WS_CHILD | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, diff --git a/redo/tab_windows.go b/redo/tab_windows.go index 5902b3b..62da0b4 100644 --- a/redo/tab_windows.go +++ b/redo/tab_windows.go @@ -23,7 +23,7 @@ type tab struct { func newTab() Tab { hwnd := C.newControl(C.xWC_TABCONTROL, C.TCS_TOOLTIPS | C.WS_TABSTOP, - 0) + C.WS_EX_CONTROLPARENT) t := &tab{ _hwnd: hwnd, } |
