From: Vadim Zeitlin Date: Thu, 4 Feb 1999 16:06:01 +0000 (+0000) Subject: conversions from int/long to wxString won't compile any more X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c606a9a4010b859981b99e4699b61f63f9ba037d conversions from int/long to wxString won't compile any more git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/string.h b/include/wx/string.h index d385f10b61..fbe3c9e36d 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -226,6 +226,13 @@ private: void CopyBeforeWrite(); void AllocBeforeWrite(size_t); + // this method is not implemented - there is _no_ conversion from int to + // string, you're doing something wrong if the compiler wants to call it! + // + // try `s << i' or `s.Printf("%d", i)' instead + wxString(int); + wxString(long); + public: // constructors and destructor // ctor for an empty string