only define operator<<(wchar_t) in Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-09-12 15:08:36 +00:00
parent 37a4035b5f
commit e4940febd0
2 changed files with 4 additions and 4 deletions

View File

@ -121,9 +121,9 @@ public:
wxTextOutputStream& operator<<(const wxChar *string);
wxTextOutputStream& operator<<(const wxString& string);
wxTextOutputStream& operator<<(char c);
#if wxUSE_WCHAR_T && wxWCHAR_T_IS_REAL_TYPE
#if wxUSE_UNICODE && wxWCHAR_T_IS_REAL_TYPE
wxTextOutputStream& operator<<(wchar_t wc);
#endif // wxUSE_WCHAR_T
#endif // wxUSE_UNICODE
wxTextOutputStream& operator<<(wxInt16 c);
wxTextOutputStream& operator<<(wxInt32 c);
wxTextOutputStream& operator<<(wxUint16 c);

View File

@ -425,7 +425,7 @@ wxTextOutputStream& wxTextOutputStream::operator<<(char c)
return *this;
}
#if wxUSE_WCHAR_T && wxWCHAR_T_IS_REAL_TYPE
#if wxUSE_UNICODE && wxWCHAR_T_IS_REAL_TYPE
wxTextOutputStream& wxTextOutputStream::operator<<(wchar_t wc)
{
@ -434,7 +434,7 @@ wxTextOutputStream& wxTextOutputStream::operator<<(wchar_t wc)
return *this;
}
#endif // wxUSE_WCHAR_T
#endif // wxUSE_UNICODE
wxTextOutputStream& wxTextOutputStream::operator<<(wxInt16 c)
{