]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove the wxVariantDataString::Read method since the >> operator it
authorRobin Dunn <robin@alldunn.com>
Fri, 22 Sep 2006 21:55:03 +0000 (21:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 22 Sep 2006 21:55:03 +0000 (21:55 +0000)
depends on has been removed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/variant.cpp

index 16c5ce1a90eb7abbe0da1b6fcc950f92ba5954ed..b21b9965f27780a4936bf1b84486a764e349f037 100644 (file)
@@ -219,9 +219,6 @@ public:
     virtual bool Write(wxSTD ostream& str) const;
 #endif
     virtual bool Write(wxString& str) const;
-#if wxUSE_STD_IOSTREAM
-    virtual bool Read(wxSTD istream& str);
-#endif
     virtual bool Read(wxString& str);
     virtual wxString GetType() const { return wxT("stringlist"); };
 
@@ -782,14 +779,6 @@ bool wxVariantDataString::Write(wxString& str) const
     return true;
 }
 
-#if wxUSE_STD_IOSTREAM
-bool wxVariantDataString::Read(wxSTD istream& str)
-{
-    str >> m_value;
-    return true;
-}
-#endif
-
 #if wxUSE_STREAMS
 bool wxVariantDataString::Write(wxOutputStream& str) const
 {