fixed yet another bug in wxActivateEvent handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -535,13 +535,13 @@ wxWindowMGL::~wxWindowMGL()
|
|||||||
|
|
||||||
if (gs_activeFrame == this)
|
if (gs_activeFrame == this)
|
||||||
{
|
{
|
||||||
|
gs_activeFrame = NULL;
|
||||||
// activate next frame in Z-order:
|
// activate next frame in Z-order:
|
||||||
if ( m_wnd->prev )
|
if ( m_wnd->prev )
|
||||||
{
|
{
|
||||||
wxWindowMGL *win = (wxWindowMGL*)m_wnd->prev->userData;
|
wxWindowMGL *win = (wxWindowMGL*)m_wnd->prev->userData;
|
||||||
win->SetFocus();
|
win->SetFocus();
|
||||||
}
|
}
|
||||||
gs_activeFrame = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( gs_focusedWindow == this )
|
if ( gs_focusedWindow == this )
|
||||||
|
Reference in New Issue
Block a user