Made uiTab a tab stop.
This commit is contained in:
parent
d44f966fc3
commit
f6bb30b1e5
|
@ -221,10 +221,9 @@ uiTab *uiNewTab(void)
|
||||||
|
|
||||||
t = (uiTab *) uiNewControl(uiTabType());
|
t = (uiTab *) uiNewControl(uiTabType());
|
||||||
|
|
||||||
t->hwnd = uiWindowsEnsureCreateControlHWND(0, // don't set WS_EX_CONTROLPARENT yet; we do that dynamically in the message loop (see below)
|
t->hwnd = uiWindowsEnsureCreateControlHWND(0,
|
||||||
WC_TABCONTROLW, L"",
|
WC_TABCONTROLW, L"",
|
||||||
// don't give WS_TABSTOP here; we only apply WS_TABSTOP if there are tabs
|
TCS_TOOLTIPS | WS_TABSTOP,
|
||||||
TCS_TOOLTIPS,
|
|
||||||
hInstance, NULL,
|
hInstance, NULL,
|
||||||
TRUE);
|
TRUE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue