]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/containr.h
compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were...
[wxWidgets.git] / include / wx / containr.h
index fd3ba533ceb4a982bd5f3ac9e33d5612f1a66a3e..99049e718c9ed9f018739fa8935d3f062417c30e 100644 (file)
@@ -13,7 +13,7 @@
 #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
 
@@ -92,6 +92,9 @@ 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)
 };