Commit cb8e37be authored by twanvl's avatar twanvl

use wxPopupTransientWindow::Dismiss instead of Show(false), otherwise handlers...

use wxPopupTransientWindow::Dismiss instead of Show(false), otherwise handlers are no uninstalled and we get an assertion failure.
parent 9854ad2d
...@@ -144,7 +144,7 @@ void DropDownList::hide(bool event, bool allow_veto) { ...@@ -144,7 +144,7 @@ void DropDownList::hide(bool event, bool allow_veto) {
void DropDownList::realHide() { void DropDownList::realHide() {
if (!IsShown()) return; if (!IsShown()) return;
Window::Hide(); Dismiss();
onHide(); onHide();
hideSubMenu(); hideSubMenu();
if (parent_menu) { if (parent_menu) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment