Warning fixes after char->wxChar in wxVariant.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-10-02 07:09:20 +00:00
parent 4e675101a7
commit 07502d7351
2 changed files with 28 additions and 27 deletions

View File

@ -70,13 +70,13 @@ public:
virtual bool Eq(wxVariantData& data) const = 0;
#if wxUSE_STD_IOSTREAM
virtual bool Write(wxSTD ostream& str) const { return false; }
virtual bool Write(wxSTD ostream& WXUNUSED(str)) const { return false; }
#endif
virtual bool Write(wxString& str) const { return false; }
virtual bool Write(wxString& WXUNUSED(str)) const { return false; }
#if wxUSE_STD_IOSTREAM
virtual bool Read(wxSTD istream& str) { return false; }
virtual bool Read(wxSTD istream& WXUNUSED(str)) { return false; }
#endif
virtual bool Read(wxString& str) { return false; }
virtual bool Read(wxString& WXUNUSED(str)) { return false; }
// What type is it? Return a string name.
virtual wxString GetType() const = 0;
// If it based on wxObject return the ClassInfo.

View File

@ -705,7 +705,8 @@ bool wxVariantDataChar::Write(wxOutputStream& str) const
{
wxTextOutputStream s(str);
s.Write8(m_value);
s << m_value;
return true;
}