- friend istream operator(istream& is, wxString& str);
-
- //@{
- /**
- These functions work as C++ stream insertion operators: they insert the given
- value into the string. Precision or format cannot be set using them, you can
- use Printf() for this.
- */
- wxString operator(const wxString& str);
- wxString operator(wxUniChar ch);
- wxString operator(int i);
- wxString operator(float f);
- wxString operator(double d);
- //@}
+ friend istream operator>>(istream& is, wxString& str);
+
+ /**
+ These functions work as C++ stream insertion operators. They insert the
+ given value into the string. Precision and format cannot be set using them.
+ Use Printf() instead.
+ */
+ wxString& operator<<(const wxString& s);
+ wxString& operator<<(const char* psz)
+ wxString& operator<<(const wchar_t* pwz)
+ wxString& operator<<(const wxCStrData& psz)
+ wxString& operator<<(wxUniChar ch);
+ wxString& operator<<(wxUniCharRef ch)
+ wxString& operator<<(char ch)
+ wxString& operator<<(unsigned char ch)
+ wxString& operator<<(wchar_t ch)
+ wxString& operator<<(const wxCharBuffer& s)
+ wxString& operator<<(const wxWCharBuffer& s)
+ wxString& operator<<(int i);
+ wxString& operator<<(unsigned int ui);
+ wxString& operator<<(long l);
+ wxString& operator<<(unsigned long ul);
+ wxString& operator<<(wxLongLong_t ll);
+ wxString& operator<<(wxULongLong_t ul);
+ wxString& operator<<(float f);
+ wxString& operator<<(double d);