Use NSApp abortModal instead of stopModal to end modal dialogs.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 23:41:10 +0000 (23:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Dec 2011 23:41:10 +0000 (23:41 +0000)
commitf834239f597f81f9fdb979557d7cd22c7684853f
treeca8c8f7caa38af014cf31190661749438d42b51b
parentff8cb900da92489dd87712e409bfd4c1f5eacfb8
Use NSApp abortModal instead of stopModal to end modal dialogs.

Using abortModal is apparently the right thing to do if the dialog is not
being closed as the result of user action (but e.g. because a timer expired)
and shouldn't change anything if it done because of something the user did
(e.g. clicked on a button).

Closes #12467.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/cocoa/evtloop.mm