Word wrap

Hi All,

Would anyone know how to impliment some sort of word wrap for wx.StaticText?

Thanks,

Malcolm

I just stick a “\n” in my
string where I want the line break.

···

-----Original Message-----
From: Malcolm Clift
[mailto:mail@mjclift.freeserve.co.uk]
Sent: Saturday, October 23, 2004
10:04 AM
To: wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] Word
wrap

Hi All,

Would anyone know how to impliment some sort of word wrap
for wx.StaticText?

Thanks,

Malcolm

Would anyone know how to impliment some sort of word wrap for
wx.StaticText?

In combination with David's reply:

Hi,

Thanks to both of you for your answers. I’m in the process of deciding how to display the text and I have also been looking at the DragImage demo in wx. If the text in that example were fixed, but still displayed as a bitmap, would it still be possible to define some sort word wrap?

Thanks,

Malcolm