[llvm-commits] CVS: llvm-tv/tools/llvm-tv/TVFrame.cpp
Misha Brukman
brukman at cs.uiuc.edu
Mon Apr 18 11:33:52 PDT 2005
Changes in directory llvm-tv/tools/llvm-tv:
TVFrame.cpp updated: 1.46 -> 1.47
---
Log message:
HTML viewer is based on out-dated (hackish) technology. Nuke.
---
Diffs of the changes: (+1 -11)
TVFrame.cpp | 12 +-----------
1 files changed, 1 insertion(+), 11 deletions(-)
Index: llvm-tv/tools/llvm-tv/TVFrame.cpp
diff -u llvm-tv/tools/llvm-tv/TVFrame.cpp:1.46 llvm-tv/tools/llvm-tv/TVFrame.cpp:1.47
--- llvm-tv/tools/llvm-tv/TVFrame.cpp:1.46 Wed May 12 22:40:27 2004
+++ llvm-tv/tools/llvm-tv/TVFrame.cpp Mon Apr 18 13:33:41 2005
@@ -11,12 +11,12 @@
#include "PictureFrame.h"
#include "TVApplication.h"
#include "TVFrame.h"
-#include "TVHtmlWindow.h"
#include "TVTextCtrl.h"
#include "TVTreeItem.h"
#include "llvm-tv/Config.h"
#include <cassert>
#include <dirent.h>
+#include <errno.h>
#include <sstream>
/// TreeCtrl constructor - creates the root and adds it to the tree
@@ -86,15 +86,6 @@
myTextCtrl->SetInsertionPoint (0);
}
-void TVHtmlWindow::displayItem (TVTreeItemData *item) {
- std::ostringstream Out;
- item->printHTML (Out);
- myHtmlWindow->Hide ();
- myHtmlWindow->SetPage (wxString (""));
- myHtmlWindow->AppendToPage (wxString (Out.str ().c_str ()));
- myHtmlWindow->Show ();
-}
-
///==---------------------------------------------------------------------==///
/// updateDisplayedItem - Updates right-hand pane with a view of the item that
@@ -180,7 +171,6 @@
// Create right-hand pane's display widget and stick it in a notebook control.
notebook = new TVNotebook (splitterWindow);
notebook->AddItemDisplayer (new TVTextCtrl (notebook, Explanation));
- notebook->AddItemDisplayer (new TVHtmlWindow (notebook, Explanation));
notebook->AddItemDisplayer (new TDGraphDrawer (notebook));
notebook->AddItemDisplayer (new BUGraphDrawer (notebook));
notebook->AddItemDisplayer (new LocalGraphDrawer (notebook));
More information about the llvm-commits
mailing list