http://bugs.winehq.org/show_bug.cgi?id=3023
Eliot Blennerhassett ewblen+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ewblen+wine@gmail.com
--- Comment #21 from Eliot Blennerhassett ewblen+wine@gmail.com 2010-06-20 05:23:25 --- This bug still exists on wine git head at 2010-06-20. (I have just suffered through building wine again, on 64 bit OS this time for extra difficulty, in order to have working Orcad)
The commented line in comment #3 is in EndDialog(), which is supposed to be called from the dialog's own process, eg when OK or cancel is pressed, with the hwnd of the dialog. It is hard to imagine that the window is not already active. I.e. it doesn't need to activate itself as if it is another window?
Someone with more knowledge of what this code was trying to do in the first place needs to comment! (it predates git history...)