Added WS_EX_CONTROLPARENT to container and Tab on Windows.

This commit is contained in:
Pietro Gagliardi 2014-08-12 17:04:04 -04:00
parent d060977cc7
commit 2146ac2af3
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,
}