+ Notice that the use of the ugly wxTLS_VALUE() macro is unfortunately
+ required if you need to support platforms without native compiler support
+ for thread-specific variables. If you compile your code only on platforms
+ which do have such support (recent versions of GNU C++ compiler, Microsoft
+ Visual C++ and Sun C++ compiler are known to have it), you can avoid it and
+ use the variable directly.
+ */
+#define wxTLS_TYPE(type) compiler-dependent-implementation
+
+/**
+ Macro to access thread-specific variables.
+
+ This macro is used to hide the difference in implementation of
+ thread-specific variables under different platforms: they can be of type T
+ used in wxTLS_TYPE() if they are directly supported by the compiler or of
+ type emulating @c T @c *, i.e. a pointer to this type otherwise. This macro
+ always returns an expression of type @c T itself.
+
+ As shown in wxTLS_TYPE() example, you may want to @c \#define a symbol
+ wrapping a thread-specific variable with this macro. And, as also explained
+ in wxTLS_TYPE() documentation, you may avoid using it entirely if you
+ target only recent compilers.
+
+ @see wxTLS_PTR()