]> Creatis software - crea.git/blobdiff - appli/creaDevManager/creaDevManager.cpp
Feature #1711
[crea.git] / appli / creaDevManager / creaDevManager.cpp
index d7b3122d1a37519a81eda62f1aa5219ab7feae0c..d47907aafce1158e8330563ebc2febe69dd4ad1b 100644 (file)
@@ -2,8 +2,8 @@
 # ---------------------------------------------------------------------
 #
 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
-#                        pour la Santé)
-# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+#                        pour la Sant)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
 #
 #  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, 
 #
 #  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.
-# ------------------------------------------------------------------------ */ 
+# ------------------------------------------------------------------------ 
+*/ 
 
 
 #include <creaWx.h>
 #include <stdlib.h>
 #include <iostream> // for std::cout
 #include "creaDevManager.h"
-#include "wxCDMMainFrame.h"
 
 IMPLEMENT_APP(wxCreaDevManagerApp)
+CREA_WXMAIN_WITH_CONSOLE
 
 wxCreaDevManagerApp::wxCreaDevManagerApp():wxApp()
 {
+  mainWindow = NULL;
 }
 
 bool wxCreaDevManagerApp::OnInit()
 {
   wxApp::OnInit();
-  
-  wxCDMMainFrame* mainWindow = new wxCDMMainFrame(NULL);
+  mainWindow = new wxCDMMainFrame(NULL);
   SetTopWindow(mainWindow);
-  mainWindow->SetSize(800, 600);
+  mainWindow->SetSize(750, 700);
   mainWindow->Show(true);
-  
   std::cout << "Crea DevManager opened." << std::endl;
   
   return true;