Reset wxTheApp when starting to destroy the object it points to.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Dec 2009 17:03:25 +0000 (17:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Dec 2009 17:03:25 +0000 (17:03 +0000)
commit89fb9e528fefc90fc376f5980ff1007e6ecfd811
tree8e432fb8d68bebbcc2304d0dc39c838c3cd1a3e9
parent4b59c898ede14219aed17d35ce0491de51d98c7a
Reset wxTheApp when starting to destroy the object it points to.

Using wxTheApp when the corresponding object is already half destroyed can't
be a good idea so reset it to NULL as soon as possible.

Closes #11525.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/appbase.cpp