AGW AUI patch for removing notebook panes

Andrea,

Here’s a tiny patch against agw.aui.framemanager that I noticed when using DetachPane on panes in an automatic notebook. If you remove all the panes from the notebook and then call UpdateNotebook, the notebook gets removed, but the panes hadn’t been reparented to the frame so they get destroyed.

I tried to open a ticket on wxTrac but I had forgotten my password and the “forgot password” email responder isn’t working for me.

Patch against svn head.

Rob

patch.txt (570 Bytes)

Hi Rob,

···

On 9 January 2014 23:42, Rob McMullen rob.mcmullen@gmail.com wrote:

Andrea,

Here’s a tiny patch against agw.aui.framemanager that I noticed when using DetachPane on panes in an automatic notebook. If you remove all the panes from the notebook and then call UpdateNotebook, the notebook gets removed, but the panes hadn’t been reparented to the frame so they get destroyed.

I tried to open a ticket on wxTrac but I had forgotten my password and the “forgot password” email responder isn’t working for me.

Patch against svn head.

Patch applied in SVN, both for Classic and Phoenix. Thank you for the patch!

Rob

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://www.infinity77.net

-------------------------------------------------------------

def ask_mailing_list_support(email):

if mention_platform_and_version() and include_sample_app():
    send_message(email)
else:

    install_malware()
    erase_hard_drives()

-------------------------------------------------------------