Re: wxpython using variable with wx.statictext ignores \n

2012-06-01 Thread MRAB
On 01/06/2012 07:24, Simon Cropper wrote: Hi, I have some wxPython code created with wxGlade that I am customizing. I have a label created under the def __init__() section of the Frame Class. It states... self.Question = wx.StaticText(self, -1, "My question...") if I insert a new li

wxpython using variable with wx.statictext ignores \n

2012-06-01 Thread Simon Cropper
Hi, I have some wxPython code created with wxGlade that I am customizing. I have a label created under the def __init__() section of the Frame Class. It states... self.Question = wx.StaticText(self, -1, "My question...") if I insert a new line character in this string like this then