summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/treeviewx/files/treeviewx-wxt.patch')
-rw-r--r--sci-biology/treeviewx/files/treeviewx-wxt.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/sci-biology/treeviewx/files/treeviewx-wxt.patch b/sci-biology/treeviewx/files/treeviewx-wxt.patch
deleted file mode 100644
index a971e1a85074..000000000000
--- a/sci-biology/treeviewx/files/treeviewx-wxt.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/tv.cpp
-+++ b/tv.cpp
-@@ -312,11 +312,15 @@
- {
- #ifdef __WXMSW__
- file_menu->AppendSeparator();
-- file_menu->Append(SAVEAS_PICTURE_CMD, "Save As Picture..."), wxT("Save picture of tree to metafile");
-+ file_menu->Append(SAVEAS_PICTURE_CMD,
-+ wxT("Save As Picture...")),
-+ wxT("Save picture of tree to metafile");
- #else
- #ifdef USE_SVG
- file_menu->AppendSeparator();
-- file_menu->Append(SAVEAS_PICTURE_CMD, "Save As Picture..."), wxT("Save picture of tree to SVG file");
-+ file_menu->Append(SAVEAS_PICTURE_CMD,
-+ wxT("Save As Picture...")),
-+ wxT("Save picture of tree to SVG file");
- #endif
- #endif
- file_menu->AppendSeparator();
---- a/tview.cpp
-+++ b/tview.cpp
-@@ -184,10 +184,10 @@
- wxString pictureFileName = GetFrame()->GetTitle();
- pictureFileName += wxT(".emf");
- wxFrame *f = GetMainFrame();
-- wxFileDialog dialog((wxWindow *)f, "Save Picture as", "", pictureFileName,
-- "Enhanced metafile (*.emf)|*.emf",
-- wxSAVE|wxOVERWRITE_PROMPT);
--
-+ wxFileDialog dialog((wxWindow *)f, wxT("Save Picture as"), wxT(""),
-+ pictureFileName, wxT("Enhanced metafile (*.emf)|*.emf"),
-+ wxSAVE|wxOVERWRITE_PROMPT);
-+
- if (dialog.ShowModal() == wxID_OK)
- {
- wxMetafileDC pictureDC (dialog.GetPath(), 600, 650) ;
-@@ -204,9 +204,9 @@
- #else
- wxFrame *f = GetMainFrame();
- #endif
-- wxFileDialog dialog((wxWindow *)f, "Save Picture as", "", pictureFileName,
-- "SVG vector picture files (*.svg)|*.svg",
-- wxSAVE|wxOVERWRITE_PROMPT);
-+ wxFileDialog dialog((wxWindow *)f, wxT("Save Picture as"), wxT(""),
-+ pictureFileName, wxT("SVG vector picture files (*.svg)|*.svg"),
-+ wxSAVE|wxOVERWRITE_PROMPT);
-
- if (dialog.ShowModal() == wxID_OK)
- {