Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusmanske committed Dec 12, 2005
1 parent fc0771b commit f8ff8d8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Alignment.cpp
Expand Up @@ -4,7 +4,9 @@
#include "Alignment.h"
#include <wx/textfile.h>

//#define USE_EXTERNAL_CLUSTALW
#ifdef __DEBIAN__
#define USE_EXTERNAL_CLUSTALW
#endif

#ifndef USE_EXTERNAL_CLUSTALW
#include "clustalw/clustalw.h"
Expand Down
1 change: 1 addition & 0 deletions MyFrame.cpp
Expand Up @@ -1839,6 +1839,7 @@ void MyFrame::OnSashDrag(wxSashEvent& event)
}
wxLayoutAlgorithm layout;
layout.LayoutFrame(this);
Refresh () ;

// Leaves bits of itself behind sometimes
// GetClientWindow()->Refresh();
Expand Down
8 changes: 5 additions & 3 deletions TVectorTree.cpp
Expand Up @@ -15,6 +15,9 @@ BEGIN_EVENT_TABLE(TVectorTree, wxTreeCtrl)
EVT_MENU(PC_ITEM_DELETE, TVectorTree::itemDelete)
EVT_MENU(PC_ITEM_HIDE, TVectorTree::itemShowHide)
EVT_MENU(PC_ITEM_SHOW, TVectorTree::itemShowHide)
EVT_MENU(PC_ITEM_COPY_DNA, TVectorTree::itemCopyDNA)
EVT_MENU(PC_ITEM_BLAST_DNA, TVectorTree::blastDNA)
EVT_MENU(PC_ITEM_BLAST_AA, TVectorTree::blastAA)

EVT_MENU(PRIMER_FORWARD, TVectorTree::OnPrimerForward)
EVT_MENU(PRIMER_BACKWARD, TVectorTree::OnPrimerBackward)
Expand All @@ -30,8 +33,6 @@ BEGIN_EVENT_TABLE(TVectorTree, wxTreeCtrl)
EVT_MENU(PC_RS_ADD_AND_CUT, TVectorTree::rsAddAndCut)
EVT_MENU(PC_RS_CUT_WITH_COCKTAIL, TVectorTree::rsCutWithCocktail)
EVT_MENU(PC_VECTOR_EDIT, TVectorTree::vecEdit)
EVT_MENU(PC_BLAST_DNA, TVectorTree::blastDNA)
EVT_MENU(PC_BLAST_AA, TVectorTree::blastAA)
END_EVENT_TABLE()


Expand Down Expand Up @@ -336,4 +337,5 @@ void TVectorTree::OnPrimerBoth ( wxCommandEvent &ev )
void TVectorTree::OnPrimerMutation ( wxCommandEvent &ev )
{ p->cPlasmid->OnPrimerMutation ( ev ) ; }


void TVectorTree::itemCopyDNA ( wxCommandEvent &ev )
{ p->cPlasmid->itemCopyDNA ( ev ) ; }
1 change: 1 addition & 0 deletions TVectorTree.h
Expand Up @@ -58,6 +58,7 @@ class TVectorTree : public wxTreeCtrl
void rsAddAndCut ( wxCommandEvent &ev ) ; ///< Event redirect to parent child
void rsCutWithCocktail ( wxCommandEvent &ev ) ; ///< Event redirect to parent child
void vecEdit ( wxCommandEvent &ev ) ; ///< Event redirect to parent child
void itemCopyDNA ( wxCommandEvent &ev ) ; ///< Event redirect to parent child
void blastDNA ( wxCommandEvent &ev ) ; ///< Event redirect to parent child
void blastAA ( wxCommandEvent &ev ) ; ///< Event redirect to parent child

Expand Down
4 changes: 4 additions & 0 deletions main.cpp
Expand Up @@ -233,6 +233,10 @@ bool MyApp::OnInit()
wxApp::s_macExitMenuItemId = MDI_QUIT;
// wxApp::s_macHelpMenuTitleName = "Help";

#endif

#ifdef __DEBIAN__
homedir = _T("/usr/share/gentle") ;
#endif

wxInitAllImageHandlers() ;
Expand Down
2 changes: 2 additions & 0 deletions main.h
Expand Up @@ -4,6 +4,8 @@
#ifndef _MAIN_H_
#define _MAIN_H_

//#define __DEBIAN__

#define GENTLE_VERSION_MAJOR 1
#define GENTLE_VERSION_MINOR 8
#define GENTLE_VERSION_SUB 0
Expand Down

0 comments on commit f8ff8d8

Please sign in to comment.