X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f463f87dac2c6e211ea7e1c6812e916befe24d63..3c86150dd768b4e490b603227de28aa57275ee4b:/src/common/containr.cpp diff --git a/src/common/containr.cpp b/src/common/containr.cpp index 51f28331ee..4c3b90575d 100644 --- a/src/common/containr.cpp +++ b/src/common/containr.cpp @@ -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() )