Ensure that an event loop exists in ShowViewOrWindowWithEffect().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Oct 2009 00:08:10 +0000 (00:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Oct 2009 00:08:10 +0000 (00:08 +0000)
commitdc72e2adfa7e7de367c244e91c0402733c2904a8
treed077212f9c992d9b4c050fbb34926f41b88d6938
parent8ea1300ff5293c1d8e879b0f9e40f376033229f8
Ensure that an event loop exists in ShowViewOrWindowWithEffect().

We may not have an event loop yet if wxWindow::ShowWithEffect() is called
during the application startup, create a temporary event loop instead of
crashing in this case.

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