From 599a97e9ab9d9c1fca761d501ef101595e0ae486 Mon Sep 17 00:00:00 2001
From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= <vslavik@fastmail.fm>
Date: Fri, 24 Dec 1999 23:27:46 +0000
Subject: [PATCH] removed wxHtmlParser::GetTempData (internal function,
 obsoleted)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 include/wx/html/htmlpars.h | 9 ---------
 src/html/htmlwin.cpp       | 3 ---
 2 files changed, 12 deletions(-)

diff --git a/include/wx/html/htmlpars.h b/include/wx/html/htmlpars.h
index acf972ff42..e234456d43 100644
--- a/include/wx/html/htmlpars.h
+++ b/include/wx/html/htmlpars.h
@@ -89,15 +89,6 @@ class WXDLLEXPORT wxHtmlParser : public wxObject
 
         wxString* GetSource() {return &m_Source;}
 
-        virtual wxList* GetTempData() {return NULL;}
-                // this method returns list of wxObjects that represents
-                // all data allocated by the parser. These can't be freeded
-                // by destructor because they must be valid as long as
-                // GetProduct's return value is valid - the caller must
-                // explicitly call delete MyParser -> GetTempData() to free
-                // the memory
-                // (this method always sets the list to delete its contents)
-
     protected:
 
         virtual void AddText(const char* txt) = 0;
diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp
index 380ed40818..76e0c45e64 100644
--- a/src/html/htmlwin.cpp
+++ b/src/html/htmlwin.cpp
@@ -69,9 +69,6 @@ wxHtmlWindow::~wxHtmlWindow()
 
     if (m_Cell) delete m_Cell;
 
-    wxList *parser_data = m_Parser -> GetTempData();
-    if (parser_data) delete parser_data;
-
     delete m_Parser;
     delete m_FS;
 }
-- 
2.45.2