Re: Re: Phoenix and AUI
Eric Fahlgren <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <CAP2Qz+V7cvFLb4B=bj6GsRTqF52mHGe3T-SFyfPRu25wV=w3iw@mail.gmail.com> |
Torsten, thanks, that fixed it! I've been running with classic for years without that and it has work fine, so I was somewhat mystified... On Tue, Apr 18, 2017 at 4:49 AM, 'Torsten' via wxPython-dev < [email protected]> wrote: > You need to call UnInit()before closing the frame: > > 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) > > def on_exit(evt): > aui.UnInit() > evt.Skip() > > mw.Show() > mw.Bind(wx.EVT_CLOSE, on_exit) > 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. > -- 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.