Public Member Functions | |
bool | OnInit () |
int | OnExit () |
bool | OnInit () |
int | OnExit () |
Definition at line 4 of file main.cxx.
CREA_WXMAIN_WITH_CONSOLE bool myApp::OnInit | ( | ) |
Definition at line 15 of file main.cxx.
References creaImageIO::SetGimmickDebugMessageLevel(), and creaImageIO::SetGimmickMessageLevel().
00016 { 00017 wxApp::OnInit(); 00018 #ifdef __WXGTK__ 00019 //See http://www.wxwindows.org/faqgtk.htm#locale 00020 setlocale(LC_NUMERIC, "C"); 00021 #endif 00022 wxInitAllImageHandlers(); 00023 00024 00025 creaImageIO::SetGimmickMessageLevel(5); 00026 creaImageIO::SetGimmickDebugMessageLevel(5); 00027 00028 00029 int threads = 1; 00030 00031 creaImageIO::WxGimmickFrame* f = new 00032 creaImageIO::WxGimmickFrame(0, 00033 -1, 00034 _T("wxGimmick! (c) CREATIS-LRMN 2008"), 00035 wxDefaultPosition, 00036 wxSize(1200,800), 00037 threads); 00038 f->Show(); 00039 00040 return true; 00041 }
bool myApp::OnInit | ( | ) |