Reset m_inSetFocus for other exit point in this function:

could explain why the focus protection code was broken


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-05-28 18:45:24 +00:00
parent f463f87dac
commit 1c9e321b3c

View File

@ -362,7 +362,8 @@ bool wxControlContainer::DoSetFocus()
if ( win == m_winParent )
{
// our child already has focus, don't take it away from it
return TRUE;
m_inSetFocus = false;
return true;
}
if ( win->IsTopLevel() )