Post by Marian 'VooDooMan' MeravyHi Vadim,
IMO we can't be sure whether Espen is reading this list. I encourage you
to discover his e-mail address from Trac and send him personal e-mail,
because as you said this ticket was valid (and valuable) bug report, so
it is very important to re-submit it.
best,
vdm
.
Post by Vadim ZeitlinHello,
I've accidentally copy-pasted the wrong text and deleted a valid bug
report from Espen when I wanted to remove a spam ticket. Really sorry about
this, but I don't think I can undo it. Espen, if you're reading this, could
you please resubmit your ticket?
Thanks and sorry again,
VZ
That would be this one?
#16112: wx.DestroyChildren in event handler cause segmentation fault
on osx
Ticket URL: <http://trac.wxwidgets.org/ticket/16112>
#16112: wx.DestroyChildren in event handler cause segmentation fault on osx
-----------------------------+----------------------------------------------
Reporter: Espen | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxOSX-Cocoa | Version: 3.0.0
Keywords: DestroyChildren | Blockedby:
Patch: 0 | Blocking:
-----------------------------+----------------------------------------------
The following Python code runs fine on windows, but cause a segmentation
fault on osx. It does not make a difference to use CallAfter...
{{{
import wx
class myFrame(wx.Frame):
def ___init___(self):
wx.Frame.___init___(self, None)
self.sizer = wx.BoxSizer(wx.VERTICAL)
self.sizer.Add(wx.StaticText(self, -1, 'Static text'))
self.sizer.Add(wx.Button(self, -1, 'Button'))
self.SetSizer(self.sizer)
self.Bind(wx.EVT_BUTTON, self.on_button)
def on_button(self, event):
self.sizer.Clear()
self.DestroyChildren()
app = wx.App()
frame = myFrame()
frame.Show()
app.MainLoop()
}}}
--
Ticket URL: <http://trac.wxwidgets.org/ticket/16112>
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users