Hello list,
When I add any Window instance to a Control, it causes a segfault in
Linux but not in Windows. Here is some example code that tries to add
a StaticText to a TextCtrl
···
#-------------------------
import wx
class MyFrame( wx.Frame ):
def __init__( self ):
wx.Frame.__init__( self, None, -1, "Test" )
self.text_ctrl = wx.TextCtrl(self,-1)
self.static_text = wx.StaticText(self.text_ctrl,-1,'testing')
self.Show()
app = wx.App(0)
MyFrame()
app.MainLoop()
#-------------------------
(I'm trying to make a fancy form thing that has labels inside the
TextCtrl but slightly out of the way so the user can still see what
they are typing)
I was just wondering if I'm doing something wrong or if this is a bug
Thanks