From 9df83889007ee275bac79b3d4afa966882e9a32d Mon Sep 17 00:00:00 2001 From: EmptyChaos Date: Mon, 25 Jul 2016 17:37:51 +0000 Subject: [PATCH] WXMSW-Patch: Fix wxTipWindow internal assertion failure. --- Externals/wxWidgets3/src/generic/tipwin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Externals/wxWidgets3/src/generic/tipwin.cpp b/Externals/wxWidgets3/src/generic/tipwin.cpp index abe66b3275..b022ac3c4f 100644 --- a/Externals/wxWidgets3/src/generic/tipwin.cpp +++ b/Externals/wxWidgets3/src/generic/tipwin.cpp @@ -218,6 +218,9 @@ void wxTipWindow::Close() *m_windowPtr = NULL; m_windowPtr = NULL; } + // XXX: Dolphin: Prevents an assertion failure due to Close being called multiple times. + if (!IsShown()) + return; #if wxUSE_POPUPWIN Show(false);