Some TODO resolution in windows/tab.c. Wine bug filed (https://bugs.winehq.org/show_bug.cgi?id=38527); first tab behavior verified with program in wine bug.
This commit is contained in:
parent
ac8bc029ef
commit
dc5b7f4c59
|
@ -1,9 +1,6 @@
|
|||
// 12 april 2015
|
||||
#include "uipriv_windows.h"
|
||||
|
||||
// TODO
|
||||
// - tell wine developers that tab controls do respond to parent changes on real windows (at least comctl6 tab controls do)
|
||||
|
||||
struct tab {
|
||||
uiTab t;
|
||||
HWND hwnd;
|
||||
|
@ -161,7 +158,6 @@ static void tabAppendPage(uiTab *tt, const char *name, uiControl *child)
|
|||
uiFree(wname);
|
||||
|
||||
// if this is the first tab, Windows will automatically show it /without/ sending a TCN_SELCHANGE notification
|
||||
// (TODO verify that)
|
||||
// so we need to manually resize the tab ourselves
|
||||
// don't use uiUpdateParent() for the same reason as in the TCN_SELCHANGE handler
|
||||
SendMessageW(t->hwnd, msgUpdateChild, 0, 0);
|
||||
|
|
Loading…
Reference in New Issue