Phoenix and AUI

Eric Fahlgren <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <CAP2Qz+X9VwzdcCLW7nHS3hSP51kFfPETcRmMzdiUAuYC9be42A@mail.gmail.com>
​I'm seeing an assertion error on exit with an AuiManager attached to my
main window.  Any clues as to what is up here?  (I tried an 'aui.Destroy()'
call, that seg faults...)

> ./term.py
Traceback (most recent call last):
  File "./term.py", line 13, in <module>
    app.MainLoop()
  File "T:\Python27\lib\site-packages\wxPhoenix\wx\core.py", line 2054, in
MainLoop
    rv = wx.PyApp.MainLoop(self)
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed
at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any
pushed event handlers must have been removed

> cat term.py
import wx
import wx.lib.agw.aui as AUI

app = wx.App()
mw = wx.Frame(parent=None, size=(10,10))
aui = AUI.AuiManager()
aui.SetManagedWindow(mw)

mw.Show()
app.MainLoop()
app.Destroy()
​

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.