http://bugs.winehq.org/show_bug.cgi?id=2948
Summary: WM_CTLCOLOREDIT & LISTBOX return ignored and pen bug Product: Wine Version: CVS Platform: PC URL: http://hem.bredband.net/lidsam/wm_ctlcolor.tar.bz2 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-gdi AssignedTo: wine-bugs@winehq.org ReportedBy: samuellb@bredband.net
Wine ignores the return value of WM_CTLCOLOREDIT and WM_CTLCOLORLISTBOX messages. Also it uses any pens selected in WM_CTLCOLOREDIT for drawing the border.
The correct behaviour is to use select the brush returned in the messages, and to draw the border on EDIT controls with the color theme's border color.