X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..aa0cc8a14caff3ae75475d94d3104c78cc9add8e:/include/wx/containr.h diff --git a/include/wx/containr.h b/include/wx/containr.h index e5399b71ce..cd308a2306 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -92,10 +92,13 @@ protected: // 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); // ----------------------------------------------------------------------------