wx.HSCROLL TextCtrl under OSX
7stud
bbxx789_05ss at yahoo.com
Thu Apr 12 15:23:57 PDT 2007
Paulo Nuin <nuin <at> genedrift.org> writes:
>
> Hi everyone
>
> I am having trouble to set wx.HSCROLL on a wx.TextCtrl in Mac OSX.
I have the same problem with the following code:
import wx
app = wx.App()
win = wx.Frame(None, title="Text Editor", size=(150, 150))
contentsTxtBox = wx.TextCtrl(win,
pos=(5, 35), size=(100, 100),
style=wx.TE_MULTILINE | wx.HSCROLL)
win.Show()
app.MainLoop()
No matter how long a line of text is, the horizontal scroll bar won't appear.
intel mac, os 10.4.7, python 2.4.4, and I installed wxPython from this download:
wxPython2.8-osx-unicode-2.8.3.0-universal10.4-py2.4.dmg
More information about the wxpython-users
mailing list