]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stack.h
Avoid using "do { ... } while ( wxFalse )" pseudo-loop.
[wxWidgets.git] / include / wx / stack.h
index 1ca3cd657ad4834c3fee75160efe8fc4fb5a4d47..b4e8ed2f8a889d6a0d351c1bcc18545228776127 100644 (file)
 
 #include "wx/vector.h"
 
-#if wxUSE_STL
+#if wxUSE_STD_CONTAINERS
 
 #include <stack>
 #define wxStack std::stack
 
-#else // !wxUSE_STL
+#else // !wxUSE_STD_CONTAINERS
 
 // Notice that unlike std::stack, wxStack currently always uses wxVector and
 // can't be used with any other underlying container type.
@@ -53,7 +53,7 @@ private:
     container_type m_cont;
 };
 
-#endif // wxUSE_STL/!wxUSE_STL
+#endif // wxUSE_STD_CONTAINERS/!wxUSE_STD_CONTAINERS
 
 
 // Deprecated macro-based class for compatibility only, don't use any more.