Hi~ I'm interested in wine. and find some bug... window's caption is optional, but current is not.
wine/windows/win.c
line 1087 /* Correct the window style - stage 2 */
if (!(cs->style & WS_CHILD)) { wndPtr->dwStyle |= WS_CLIPSIBLINGS; if (!(cs->style & WS_POPUP)) { if(cs->style & WS_VISIBLE) // <- this is must be added, wndPtr->dwStyle |= WS_CAPTION; wndPtr->flags |= WIN_NEED_SIZE; } }
---- John.