From 05b753c7a1258f0cb3f4b5e119f52833029960be Mon Sep 17 00:00:00 2001 From: twanvl Date: Thu, 30 Dec 2010 22:04:35 +0000 Subject: [PATCH] use wxPopupTransientWindow::Dismiss instead of Show(false), otherwise handlers are no uninstalled and we get an assertion failure. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1570 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/drop_down_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/drop_down_list.cpp b/src/gui/drop_down_list.cpp index ea155c7d..d1f59ad5 100644 --- a/src/gui/drop_down_list.cpp +++ b/src/gui/drop_down_list.cpp @@ -144,7 +144,7 @@ void DropDownList::hide(bool event, bool allow_veto) { void DropDownList::realHide() { if (!IsShown()) return; - Window::Hide(); + Dismiss(); onHide(); hideSubMenu(); if (parent_menu) {