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
This commit is contained in:
Vadim Zeitlin
1999-02-04 16:06:01 +00:00
parent a532afbbab
commit c606a9a401

View File

@@ -226,6 +226,13 @@ private:
void CopyBeforeWrite(); void CopyBeforeWrite();
void AllocBeforeWrite(size_t); 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: public:
// constructors and destructor // constructors and destructor
// ctor for an empty string // ctor for an empty string