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:
@@ -70,13 +70,13 @@ public:
|
|||||||
virtual bool Eq(wxVariantData& data) const = 0;
|
virtual bool Eq(wxVariantData& data) const = 0;
|
||||||
|
|
||||||
#if wxUSE_STD_IOSTREAM
|
#if wxUSE_STD_IOSTREAM
|
||||||
virtual bool Write(wxSTD ostream& str) const { return false; }
|
virtual bool Write(wxSTD ostream& WXUNUSED(str)) const { return false; }
|
||||||
#endif
|
#endif
|
||||||
virtual bool Write(wxString& str) const { return false; }
|
virtual bool Write(wxString& WXUNUSED(str)) const { return false; }
|
||||||
#if wxUSE_STD_IOSTREAM
|
#if wxUSE_STD_IOSTREAM
|
||||||
virtual bool Read(wxSTD istream& str) { return false; }
|
virtual bool Read(wxSTD istream& WXUNUSED(str)) { return false; }
|
||||||
#endif
|
#endif
|
||||||
virtual bool Read(wxString& str) { return false; }
|
virtual bool Read(wxString& WXUNUSED(str)) { return false; }
|
||||||
// What type is it? Return a string name.
|
// What type is it? Return a string name.
|
||||||
virtual wxString GetType() const = 0;
|
virtual wxString GetType() const = 0;
|
||||||
// If it based on wxObject return the ClassInfo.
|
// If it based on wxObject return the ClassInfo.
|
||||||
|
@@ -705,7 +705,8 @@ bool wxVariantDataChar::Write(wxOutputStream& str) const
|
|||||||
{
|
{
|
||||||
wxTextOutputStream s(str);
|
wxTextOutputStream s(str);
|
||||||
|
|
||||||
s.Write8(m_value);
|
s << m_value;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user