Responding to "Force Quit" in Mac

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Responding to "Force Quit" in Mac

Post by evstevemd »

Is there a Mac specific or otherwise function that responds to force Quit? Here is the specific use case am talking about.
In Mac when you start a program accidentally there is an option to force it to quit without even full loading it. All other app works fine except mine.
When it is fully loaded I can quit whether by force or normal. I will appreciate a pointer to docs or otherwise that will get me started.

TIA
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7477
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Responding to "Force Quit" in Mac

Post by ONEEYEMAN »

Hi,
Take a look here and here.

Thank you.
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Responding to "Force Quit" in Mac

Post by evstevemd »

Hi,
ONEEYEMAN wrote:Hi,
Take a look here and here.

Thank you.
Can you explain a bit how they can be solution to my problem? I have checked them out and I did not understand them that well.
Thanks!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
User avatar
eranon
Can't get richer than this
Can't get richer than this
Posts: 867
Joined: Sun May 13, 2012 11:42 pm
Location: France
Contact:

Re: Responding to "Force Quit" in Mac

Post by eranon »

Maybe this thread could help you (it talks about an undocumented virtual wxApp::OSXOnShouldTerminate): viewtopic.php?f=23&t=43077
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: Responding to "Force Quit" in Mac

Post by evstevemd »

Hi,
eranon wrote:Maybe this thread could help you (it talks about an undocumented virtual wxApp::OSXOnShouldTerminate): viewtopic.php?f=23&t=43077
The thread itself is interesting and I believe its discussing something closer. Thank you for it, I will test and update here.
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Post Reply