#ifndef _WX_CONTAINR_H_
#define _WX_CONTAINR_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "containr.h"
#endif
// 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)
};