how to make multiline text in wxListCtrl

Milan Babuskov milanb at panonnet.net
Sat Feb 24 02:49:02 PST 2007


Robert Roebling wrote:
>>Is there a way to make multiple text entry in a raw/column for  in
>>wxListCtrl.
> 
> I don't think wxListCtrl supports multiline text anywhere.

On my system, wxGTK 2.8.0 (Gtk2, Unicode) draws multiline text over the 
other cells. The text gets centered vertically and it draws over cells 
above and beneath the current cell. For this reason I had to change my 
code to truncate text to first line in wxListCtrl. FWIW, I'm using 
report+virtual mode. If you would increase the row height I guess if 
would display the text properly.

I don't know if this behaviour is intended, it does not work like that 
on MSW (tried on Windows 2000)


-- 
Milan Babuskov
http://www.guacosoft.com
http://www.flamerobin.org





More information about the wx-users mailing list