Running Code off the X

Andre F <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <CANdLyG3TNRjC3L9C-zjS3UvxLfHLgTh_G6BPa=pjzAFSMpXudQ@mail.gmail.com>
Hello,

I would like to be able to run code after clicking the X at the top right
corner.  I thought I could run it off the menu's OnQuit, but that doesn't
seem to apply to the X.

Is there a way to do this?

Regards,

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/CANdLyG3TNRjC3L9C-zjS3UvxLfHLgTh_G6BPa%3DpjzAFSMpXudQ%40mail.gmail.com.
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.