https://bugs.winehq.org/show_bug.cgi?id=38933
--- Comment #2 from alexchandel@gmail.com --- (In reply to winetest from comment #1)
Bug 16346 has a patch. Could you test that patch against your application if it works.
It fixes it on the X11 driver & on linux, but not on OSX/macOS with the native Aqua driver.