this patch should fix the regression reported on #wine-hackers.
Changelog:
wined3d: Synchronize window style correcting code with ddraw.
Although afaik there's nothing wrong with this patch, I do have a
patch myself that moves the ddraw code for doing this to wined3d so
that both use the same code.