comparison src/main.cpp @ 4:964129946db6

Release : v2.0 finished !!!
author pyon@macmini
date Sun, 16 Oct 2011 16:21:33 +0900
parents b47bd4618c16
children 52697c869ce8
comparison
equal deleted inserted replaced
3:870860d435a1 4:964129946db6
1 // Filename : main.cpp 1 // Filename : main.cpp
2 // Last Change: 15-Oct-2011. 2 // Last Change: 16-Oct-2011.
3 // 3 //
4 4
5 #include "common.h" 5 #include "common.h"
6 #include "main.h" 6 #include "main.h"
7 #include "myframe.h" 7 #include "myframe.h"
21 bool MyApp::OnInit() 21 bool MyApp::OnInit()
22 { 22 {
23 if ( !wxApp::OnInit() ) return false; 23 if ( !wxApp::OnInit() ) return false;
24 24
25 wxImage::AddHandler( new wxJPEGHandler ); 25 wxImage::AddHandler( new wxJPEGHandler );
26 wxImage::AddHandler( new wxPNGHandler );
26 27
27 ConfInit(); 28 ConfInit();
28 29
29 wxString progname = wxT("A Mover"); 30 wxString progname = wxT("A Mover");
30 wxString verstr = wxString::Format( wxT(" - v%d.%d ( build %d )"), VER, REV, BLD ); 31 wxString verstr = wxString::Format( wxT(" - v%d.%d ( build %d )"), VER, REV, BLD );