https://bugs.winehq.org/show_bug.cgi?id=40390
--- Comment #2 from ryampolsky@yahoo.com ---
SetWindowTheme(GetDlgItem(hDlg, <button_id>), L" ", L" ");
Just to be clear, the SetWindowTheme call to disable theming on owner-drawn buttons is not needed on Windows itself. The program runs fine on all versions of Windows I've tested it on, and my owner-drawn buttons work with mouse-over support, etc. But under WINE - I've tried it with the latest releases - on both Linux and MacOS, owner-drawn buttons only work if desktop theme integration is not configured or if I specifically disable theming on each owner-drawn button.