Is it possible that it is broken by this patch instead, http://cvs.winehq.org/patch.py?id=14371, that Paul van Schayck reported broke Foobar2000?
The bug I was getting where the whole window is garbage is not caused by this patch, but the error message I was getting:
err:msg:DispatchMessageA BeginPaint not called on WM_PAINT for hwnd 0x1002a!
does not show up anymore. However, the map viewer still does not show up as it should, and it sounds like this is that GL problem Lionel talked about.
-- James Hawkins