I think what you want is the wxGridCellAutoWrapStringEditor and the
corresponding wxGridCellAutoWrapStringRenderer. See GridSimple.py
···
On Tue, Nov 18, 2003 at 09:09:07AM +0800, BruceKL WhoH wrote:
can I set a TextCtrl as the wxGridCellEditor for a wxGrid?
For wxGrid,it's impossible to input string longer than the column width.to drag the column to make it wider can solve the problem.It's quite different from a textctrl,you can input a very long string in a TextCtrl without worrying its width.
So is it possible to make the GridCellEditor act like a textctrl?
Thanks in advance.
--
Paul
paul@basilisk.ukfsn.org