WXMSW-Patch: Fix wxTipWindow internal assertion failure.
This commit is contained in:
parent
4573cc89fa
commit
9df8388900
|
@ -218,6 +218,9 @@ void wxTipWindow::Close()
|
||||||
*m_windowPtr = NULL;
|
*m_windowPtr = NULL;
|
||||||
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
|
#if wxUSE_POPUPWIN
|
||||||
Show(false);
|
Show(false);
|
||||||
|
|
Loading…
Reference in New Issue