From 2b004197c8cea40b41632e86cf27857463f985b8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 24 Aug 2001 12:21:27 +0000 Subject: [PATCH] added missing wxSTDs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/variant.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/common/variant.cpp b/src/common/variant.cpp index cab5e3ead1..193612e598 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -593,7 +593,7 @@ bool wxVariantDataBool::Write(wxOutputStream& str) const { wxTextOutputStream s(str); - s.Write8(m_value); + s.Write8(m_value); return TRUE; } @@ -1088,11 +1088,11 @@ public: wxVariantDataDateTime() { } wxVariantDataDateTime(const wxDateTime& value) { m_value = value; } #if wxUSE_ODBC - wxVariantDataDateTime(const TIME_STRUCT* valptr) + wxVariantDataDateTime(const TIME_STRUCT* valptr) { m_value = wxDateTime(valptr->hour, valptr->minute, valptr->second); } - wxVariantDataDateTime(const DATE_STRUCT* valptr) + wxVariantDataDateTime(const DATE_STRUCT* valptr) { m_value = wxDateTime(valptr->day, (wxDateTime::Month) (valptr->month - 1),valptr->year); } - wxVariantDataDateTime(const TIMESTAMP_STRUCT* valptr) + wxVariantDataDateTime(const TIMESTAMP_STRUCT* valptr) { m_value = wxDateTime(valptr->day, (wxDateTime::Month) (valptr->month - 1), valptr->year, valptr->hour, valptr->minute, valptr->second, valptr->fraction ); } #endif //ODBC @@ -1103,11 +1103,11 @@ public: virtual void Copy(wxVariantData& data); virtual bool Eq(wxVariantData& data) const; #if wxUSE_STD_IOSTREAM - virtual bool Write(ostream& str) const; + virtual bool Write(wxSTD ostream& str) const; #endif virtual bool Write(wxString& str) const; #if wxUSE_STD_IOSTREAM - virtual bool Read(istream& str); + virtual bool Read(wxSTD istream& str); #endif virtual bool Read(wxString& str); virtual wxString GetType() const { return wxT("datetime"); }; @@ -1141,7 +1141,7 @@ bool wxVariantDataDateTime::Eq(wxVariantData& data) const #if wxUSE_STD_IOSTREAM -bool wxVariantDataDateTime::Write(ostream& str) const +bool wxVariantDataDateTime::Write(wxSTD ostream& str) const { // Not implemented return FALSE; @@ -1157,7 +1157,7 @@ bool wxVariantDataDateTime::Write(wxString& str) const #if wxUSE_STD_IOSTREAM -bool wxVariantDataDateTime::Read(istream& WXUNUSED(str)) +bool wxVariantDataDateTime::Read(wxSTD istream& WXUNUSED(str)) { // Not implemented return FALSE;