Thanks everyone for finding out the cause of the problem. I'll look forwardto when the new version of wxWidgests can be integrated. Until then I havemy TextEditor work around
Thanks,Paul