Public Member Functions | |
| bool | OnInit () |
| int | OnExit () |
| bool | OnInit () |
| int | OnExit () |
Definition at line 4 of file main.cxx.
| 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;
}

1.7.1