]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/containr.cpp
first attempt for full screen implementation
[wxWidgets.git] / src / common / containr.cpp
index 51f28331ee100b8548e0b0c67d4e8bdeb5ad97d3..4c3b90575d343c9140466d824c6e815fdc0cab55 100644 (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() )