[wxPython-users] Bug in wx.richtext.RichTextCtrl

Robin Dunn robin at alldunn.com
Mon Jun 18 12:55:06 PDT 2007


Saketh wrote:
> I've encountered an issue with the RichTextCtrl. The problem is that the 
> Enter key switches focus instead of inserting a newline. Here is a bit 
> of code that produces the bug on Windows. To see it, focus on the 
> RichTextCtrl and hit enter.

Turn off the wx.TAB_TRAVERSAL style of the panel by passing style=0 to 
its constructor.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list