http://bugs.winehq.org/show_bug.cgi?id=26355
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|user32 |shlwapi
--- Comment #6 from ocean04@suomi24.fi 2011-06-20 07:03:04 CDT --- Builtin shlwapi calls setparent with GWL_STYLE c6010000 and native 46010000. That is causing this bug. c6010000 is incorrect.
These changes to shlwapi seem to do it:
-LONG new_flags = (flags & mask) | (ret & ~mask);
+LONG new_flags = (flags) | (ret & ~mask);
- SHSetWindowBits(hWnd, GWL_STYLE, WS_CHILD, WS_CHILD); -else - SHSetWindowBits(hWnd, GWL_STYLE, WS_POPUP, WS_POPUP);
+ SHSetWindowBits(hWnd, GWL_STYLE, WS_POPUP, WS_CHILD); +else + SHSetWindowBits(hWnd, GWL_STYLE, WS_CHILD, WS_POPUP);