X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5c8817ce52135a2fb20ed239116857073047621..c65650d7b5472d00da0a0516ff1a2ccf53746319:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index bdd38c93a1..bd343a081d 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -80,16 +80,8 @@ class WXDLLIMPEXP_BASE wxString; // constants // ---------------------------------------------------------------------------- -#if defined(__VISAGECPP__) && __IBMCPP__ >= 400 -// must define this static for VA or else you get multiply defined symbols everywhere -extern const unsigned int wxSTRING_MAXLEN; - -#else // maximum possible length for a string means "take all string" everywhere -// (as sizeof(StringData) is unknown here, we subtract 100) -const unsigned int wxSTRING_MAXLEN = UINT_MAX - 100; - -#endif +#define wxSTRING_MAXLEN wxStringBase::npos // ---------------------------------------------------------------------------- // global data