Add wxEventLoop::ScheduleExit().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:26:13 +0000 (00:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:26:13 +0000 (00:26 +0000)
commitd3ad22bdb33cdba830923932e208f030f61669b4
tree733e734cf463d2e823f1dc39b80f14e4b016a419
parente77dc839af87a1ad330a55689318e9f98fffbe9e
Add wxEventLoop::ScheduleExit().

This method allows to request exiting from the given event loop even if it's
not the currently active one, unlike Exit() which would assert in this case.
With it, it becomes possible to ask the loop to terminate as soon as possible
even if a nested loop is currently running.

See #10258.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
30 files changed:
docs/changes.txt
include/wx/cocoa/evtloop.h
include/wx/evtloop.h
include/wx/gtk/evtloop.h
include/wx/osx/core/evtloop.h
interface/wx/evtloop.h
src/cocoa/evtloop.mm
src/common/evtloopcmn.cpp
src/gtk/evtloop.cpp
src/gtk1/evtloop.cpp
src/motif/evtloop.cpp
src/osx/carbon/evtloop.cpp
src/osx/cocoa/evtloop.mm
src/osx/core/evtloop_cf.cpp
src/x11/evtloop.cpp
tests/Makefile.in
tests/events/evtlooptest.cpp [new file with mode: 0644]
tests/makefile.bcc
tests/makefile.gcc
tests/makefile.vc
tests/makefile.wat
tests/test.bkl
tests/test_test.dsp
tests/test_test_gui.dsp
tests/test_vc7_test.vcproj
tests/test_vc7_test_gui.vcproj
tests/test_vc8_test.vcproj
tests/test_vc8_test_gui.vcproj
tests/test_vc9_test.vcproj
tests/test_vc9_test_gui.vcproj