+// the implementation of all the functions below is exactly the same so factor
+// it out
+
+#ifdef __WATCOMC__
+ #define STR2INTLINK _WCRTLINK
+#else
+ #define STR2INTLINK
+#endif
+
+template <typename T>
+bool wxStringToIntType(const wxChar *start,
+ T *val,
+ int base,
+ T STR2INTLINK (*func)(const wxChar *, wxChar **, int))