Avoid double destruction of wxTipWindow under wxOSX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2012 01:20:21 +0000 (01:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2012 01:20:21 +0000 (01:20 +0000)
commitbaa6b3327f206714e2af0871556520c74d72418d
tree5ec4bcfb91e7e1483580210044fd3e9fbaffc03b
parentd8088f27c5abb19a1f4a99cf9064bfb85181b657
Avoid double destruction of wxTipWindow under wxOSX.

Hiding the window results in wxEVT_KILL_FOCUS under OS X and this destroys it
already, so when we call Destroy() from wxTipWindow::Close() later, it
triggers assert about destroying it twice.

Avoid doing this under OS X for now, even though the real problem is probably
the discrepancy in wxEVT_KILL_FOCUS event generation under different platforms.

Closes #14651.

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