]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMMainFrame.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCDMMainFrame.h
index 4c77f4574e6dd7fabdb061faddf3b82fe4e44500..ff957d5d3c4d7d9c356bebaa42f747e715446b88 100755 (executable)
@@ -2,8 +2,10 @@
 # ---------------------------------------------------------------------
 #
 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
-#                        pour la Santé)
+#                        pour la Sant)
 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+# Previous Authors : Laurent Guigues, Jean-Pierre Roux
+# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
 #
 #  This software is governed by the CeCILL-B license under French law and 
 #  abiding by the rules of distribution of free software. You can  use, 
@@ -20,7 +22,8 @@
 #
 #  The fact that you are presently reading this means that you have had
 #  knowledge of the CeCILL-B license and that you accept its terms.
-# ------------------------------------------------------------------------ */ 
+# ------------------------------------------------------------------------ 
+*/ 
 
 
 #ifndef WXCDMMAINFRAME_H_INCLUDED
@@ -28,6 +31,7 @@
 
 #include <creaWx.h>
 #include <wx/aui/aui.h>
+#include <wx/treectrl.h>
 #include "wxCDMProjectsTreeCtrl.h"
 #include "modelCDMMain.h"
 
@@ -39,7 +43,7 @@ public:
   wxCDMMainFrame(
       wxWindow* parent,
       wxWindowID id = -1,
-      const wxString& caption = wxString("CREATIS CreaDevManager"),
+      const wxString& caption = wxT("CREATIS CreaDevManager"),
       const wxPoint& pos = wxDefaultPosition,
       const wxSize& size = wxDefaultSize,
       long style = wxDEFAULT_FRAME_STYLE
@@ -50,7 +54,7 @@ public:
   bool Create(
       wxWindow* parent,
       wxWindowID id = -1,
-      const wxString& caption = wxString("CREATIS CreaDevManager"),
+      const wxString& caption = wxT("CREATIS CreaDevManager"),
       const wxPoint& pos = wxDefaultPosition,
       const wxSize& size = wxDefaultSize,
       long style = wxDEFAULT_FRAME_STYLE
@@ -109,6 +113,9 @@ protected:
   void OnMenuReportBug(wxCommandEvent& event);
   void OnMenuAboutCreaDevManager(wxCommandEvent& event);
   void OnMenuAboutCreatis(wxCommandEvent& event);
+
+  //Tree
+  void OnTreeSelectionChanged(wxTreeEvent& event);
 };
 
 #endif