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:
@@ -362,7 +362,8 @@ bool wxControlContainer::DoSetFocus()
|
|||||||
if ( win == m_winParent )
|
if ( win == m_winParent )
|
||||||
{
|
{
|
||||||
// our child already has focus, don't take it away from it
|
// our child already has focus, don't take it away from it
|
||||||
return TRUE;
|
m_inSetFocus = false;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( win->IsTopLevel() )
|
if ( win->IsTopLevel() )
|
||||||
|
Reference in New Issue
Block a user