I think you need to remove wx.TE_MULTILINE.
···
On Sat, Jun 21, 2008 at 2:36 PM, Trey K trey.wxpython@gmail.com wrote:
Hey all.
Quick question - what style would I apply to a wx.TextCtrl to make it just scroll horizontally instead of word-wrap?Here’s my text control, if it really matters:
self.code = wx.TextCtrl(self, ID_TEXTBOX, size=(200, 130), style=wx.TE_MULTILINE)
self.code.SetFont(wx.Font(11, wx.FONTFAMILY_MODERN, wx.NORMAL, wx.NORMAL))
self.Bind(wx.EVT_UPDATE_UI, self.UpdateText, id=ID_TEXTBOX)Thanks in advance for any help.