Try the patch attached to this thread: http://www.winehq.org/pipermail/wine-devel/2009-December/080280.html