http://bugs.winehq.org/show_bug.cgi?id=30919
Bug #: 30919 Summary: [.net 2.0] ListBox items should not display any newline characters Product: Wine Version: 1.5.5 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: danieleds0@gmail.com Classification: Unclassified
Created attachment 40550 --> http://bugs.winehq.org/attachment.cgi?id=40550 Expected behavior vs actual behavior
In a .net application, if you add an item to a ListBox, newline characters are shown (in windows, they're hidden). Look at the attached image to see the differences.
This is the code used to reproduce the problem (VB.NET):
ListBox1.Items.Add("aaa" & "|" & vbNewLine & "bbb" & "|" & vbNewLine & "ccc")
I suspect this problem is not limited to .net, but maybe is at some lower level.