https://bugs.winehq.org/show_bug.cgi?id=56237
--- Comment #3 from Christian PANEL ch.panel@free.fr --- @rafal : not at all, nothing to do with the modality it's a different behavior : when the dialog box opens, if you have not given the DEFPUSHBUTTON attribute to a button and you press <ENTER>, windows return the Id of button with focus (first), wine does not.
run dlg_one.exe under wine then help|About then you have a dialog box with 2 responses (OK, CANCEL): press <ENTER> under wine does not give anything, under windows, returns the ID (1001) NB: Tab and shift+Tab to reset the focus back to the first control then give a correct behavior.