// a temporary override of m_winDefault, use the latter if NULL
wxWindow *m_winTmpDefault;
+ // a guard against infinite recursion
+ bool m_inSetFocus;
+
DECLARE_NO_COPY_CLASS(wxControlContainer)
};
-// this function is for wxWindows internal use only
+// this function is for wxWidgets internal use only
extern bool wxSetFocusToChild(wxWindow *win, wxWindow **child);
// ----------------------------------------------------------------------------