X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9129836e627b31134dd2a1e8671a0906883a063a..044bb772d6d7c2b7c15c05f58c46c5829bc1cb1a:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 8a722a4f4c..7d77c76f8f 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1682,17 +1682,11 @@ int wxString::Find(const wxChar *pszSub) const // 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 +template bool wxStringToIntType(const wxChar *start, T *val, int base, - T STR2INTLINK (*func)(const wxChar *, wxChar **, int)) + F func) { wxCHECK_MSG( val, false, _T("NULL output pointer") ); wxASSERT_MSG( !base || (base > 1 && base <= 36), _T("invalid base") );