mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user