Деян Хаджиев
2014-10-02 18:09:41 UTC
Hi,
I have a heavy application on OSX, that runs in several threads and it is
essential it cleans up properly. I am already handling the OnClose events
from the possible frames and I'm also handling the wxID_EXIT event. I have
been trying to capture the events (or signals) sent when a user clicks the
"Quit" from the Dock, but have been unsuccessful so far. I have even tried
to capture all wxEVT_COMMAND_MENU_SELECTED events in range wxID_LOWEST,
wxID_HIGHTEST, but still no effect. Afterwards I also tried to filter all
events but I found no unique events whatsoever. Then I tried to capture
signals, but hit a stone there as well. Do you know what kind of event (or
signal) is generated on Dock Quit (or at least some way to intercept the
kill)? TIA
Best Regards,
Deyan Hadzhiev
I have a heavy application on OSX, that runs in several threads and it is
essential it cleans up properly. I am already handling the OnClose events
from the possible frames and I'm also handling the wxID_EXIT event. I have
been trying to capture the events (or signals) sent when a user clicks the
"Quit" from the Dock, but have been unsuccessful so far. I have even tried
to capture all wxEVT_COMMAND_MENU_SELECTED events in range wxID_LOWEST,
wxID_HIGHTEST, but still no effect. Afterwards I also tried to filter all
events but I found no unique events whatsoever. Then I tried to capture
signals, but hit a stone there as well. Do you know what kind of event (or
signal) is generated on Dock Quit (or at least some way to intercept the
kill)? TIA
Best Regards,
Deyan Hadzhiev
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users