From 31ae546e1684e7a7f7c743e18572ef34fcf19151 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 7 Oct 2001 14:34:07 +0000 Subject: [PATCH] fixed yet another bug in wxActivateEvent handling git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mgl/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index 00bc22aae5..1360b65450 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -535,13 +535,13 @@ wxWindowMGL::~wxWindowMGL() if (gs_activeFrame == this) { + gs_activeFrame = NULL; // activate next frame in Z-order: if ( m_wnd->prev ) { wxWindowMGL *win = (wxWindowMGL*)m_wnd->prev->userData; win->SetFocus(); } - gs_activeFrame = NULL; } if ( gs_focusedWindow == this ) -- 2.50.0