Allow using wxStrtox() functions with nullptr with MSVS too

Add a unit test checking that it compiles (and works).

This extends the changes of 63b1f00eb8 to
cover MSVS as well.
This commit is contained in:
Vadim Zeitlin
2020-01-31 17:13:06 +01:00
parent 7969f3f81c
commit 55efc9e607
2 changed files with 31 additions and 1 deletions

View File

@@ -844,7 +844,7 @@ template<> struct wxStrtoxCharType<int>
return NULL;
}
};
#if __cplusplus >= 201103
#ifdef wxHAS_NULLPTR_T
template<> struct wxStrtoxCharType<std::nullptr_t>
{
typedef const char* Type;