Public Member Functions

myApp Class Reference

List of all members.

Public Member Functions

bool OnInit ()
int OnExit ()
bool OnInit ()
int OnExit ()

Detailed Description

Definition at line 4 of file main.cxx.


Member Function Documentation

int myApp::OnExit (  )  [inline]

Definition at line 8 of file main.cxx.

{ return true; }

int myApp::OnExit (  )  [inline]

Definition at line 26 of file main.cxx.

{ return true; }

bool myApp::OnInit (  ) 
CREA_WXMAIN_WITH_CONSOLE bool myApp::OnInit (  ) 

Definition at line 15 of file main.cxx.

References creaImageIO::SetGimmickDebugMessageLevel(), and creaImageIO::SetGimmickMessageLevel().

{        
  wxApp::OnInit();
#ifdef __WXGTK__
  //See http://www.wxwindows.org/faqgtk.htm#locale
  setlocale(LC_NUMERIC, "C");
#endif
   wxInitAllImageHandlers();

   
   creaImageIO::SetGimmickMessageLevel(5);
   creaImageIO::SetGimmickDebugMessageLevel(5);
   

   int threads = 1;

   creaImageIO::WxGimmickFrame* f = new
     creaImageIO::WxGimmickFrame(0,
                                 -1,
                                 _T("wxGimmick! (c) CREATIS-LRMN 2008"),
                                 wxDefaultPosition,
                                 wxSize(1200,800),
                                 threads);
   f->Show();
   
   return true;
}

Here is the call graph for this function:


The documentation for this class was generated from the following files: