diff --git a/docs/doxygen/Doxyfile_inc b/docs/doxygen/Doxyfile_inc
index eeacb0666f..8afbd597c6 100644
--- a/docs/doxygen/Doxyfile_inc
+++ b/docs/doxygen/Doxyfile_inc
@@ -111,6 +111,7 @@ ALIASES += header{1}="Include file:\n \verbatim #include <\1> \endverbatim"
ALIASES += true="true"
ALIASES += false="false"
ALIASES += NULL="NULL"
+ALIASES += NUL="NUL"
# NOTE: these are important as you can't write in the docs
# just #ifdef since the # character is used by Doxygen
diff --git a/interface/wx/wxcrt.h b/interface/wx/wxcrt.h
index 155712f1e8..46539afb10 100644
--- a/interface/wx/wxcrt.h
+++ b/interface/wx/wxcrt.h
@@ -91,7 +91,7 @@ wxArrayString wxStringTokenize(const wxString& string,
This function copies the source string @a src to the destination buffer @a
dst of size @a n without overflowing the buffer and ensuring that it is
- always @NULL-terminated.
+ always @NUL-terminated.
Example of use:
@code
@@ -121,7 +121,7 @@ wxArrayString wxStringTokenize(const wxString& string,
@param dst
Destination buffer of size (greater or) equal to @a n.
@param src
- @NULL-terminated source string.
+ @NUL-terminated source string.
@param n
The size of the destination buffer.
@return