Make wxStack an alias template instead of a macro in STL build

Just avoid the unnecessary use of the preprocessor.
This commit is contained in:
Vadim Zeitlin 2023-04-10 15:41:11 +01:00
parent 1e9b84cd27
commit 3a96c34e12

View file

@ -16,7 +16,9 @@
#if wxUSE_STD_CONTAINERS
#include <stack>
#define wxStack std::stack
template <typename T>
using wxStack = std::stack<T>;
#else // !wxUSE_STD_CONTAINERS