Use normal event loop in GUI test program.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:25:46 +0000 (00:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:25:46 +0000 (00:25 +0000)
commite77dc839af87a1ad330a55689318e9f98fffbe9e
tree9a4d47a4dbdec84fff971ec2213808642751fff6
parentc738d187e9af897f9540b30e7e46f4e496dd5754
Use normal event loop in GUI test program.

Don't create an event loop manually, let the port-specific code do it and run
it as usual in the GUI unit tests.

This has several advantages:
 - No need to manage the event loop manually in the test.
 - No need for Mac-specific code in the test itself.
 - Code being tested runs in the same context as in a normal GUI program,
   which is especially important for event-loop related tests under wxOSX as
   the main event loop is special there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/test.cpp