Re: [wxpython-users] SEG FAULT
by Phillip Watts other posts by this author
May 8 2008 7:21AM messages near this date
Re: [wxpython-users] SEG FAULT
|
Re: [wxpython-users] SEG FAULT
> Uhm, can you see what happens if you call:
> print wx.GetTopLevelWindows()
You are right:
def dologout(s,event):
s.f.Close(True)
s.f.Destroy()
toplevs = wx.GetTopLevelWindows()
print toplevs
<genret.GR1Frame; proxy of <Swig Object of type 'wxFrame *' at 0x852b108> >,
<wx.html.HtmlHelpDialog; proxy of <Swig Object of type 'wxHtmlHelpDialog *'
at 0x8776740> >]
But no combination of del, Close() or Destroy makes that HelpDialog go away.
> Also, have
> you tried giving a parent window to HtmlHelpController to see if the
> problem disappears? I have never used HTMLHelpController but the fact
> that you have to hit Ctrl+C on Windows means that some TLWs are not
> destroyed when the app exits and one way to insure that, IIUC, is to
> give a parent to those HtmlHelpController.
>
I don't think I understand how to do this. What frame? Display() is called
from many frames. The constructor stands alone.
wxHtmlHelpController() has no argument for parent.
Thanks.
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Phillip Watts
Robin Dunn
Phillip Watts
Andrea Gavana
Phillip Watts
Andrea Gavana
|