# ---------------------------------------------------------------------
#
# 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)
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;