Mercurial > mercurial > hgweb_imcv.cgi
comparison main.cpp @ 4:3fadcf124bb4
add Percent.
| author | pyon@macmini |
|---|---|
| date | Tue, 05 Jun 2018 22:09:21 +0900 |
| parents | ebc42d7a0010 |
| children |
comparison
equal
deleted
inserted
replaced
| 3:cc1f1fa544a4 | 4:3fadcf124bb4 |
|---|---|
| 1 // Filename : main.cpp | 1 // Filename : main.cpp |
| 2 // Last Change: 21-Jan-2014. | 2 // Last Change: 2018-06-05 Tue 22:08:26. |
| 3 // | 3 // |
| 4 #include "main.h" | 4 #include "main.h" |
| 5 #include "myframe.h" | 5 #include "myframe.h" |
| 6 | 6 |
| 7 IMPLEMENT_APP(MyApp) | 7 IMPLEMENT_APP(MyApp) |
| 27 wxImage::AddHandler( new wxBMPHandler ); | 27 wxImage::AddHandler( new wxBMPHandler ); |
| 28 wxImage::AddHandler( new wxTIFFHandler ); | 28 wxImage::AddHandler( new wxTIFFHandler ); |
| 29 | 29 |
| 30 long style = wxDEFAULT_FRAME_STYLE; | 30 long style = wxDEFAULT_FRAME_STYLE; |
| 31 style = style & ~( wxMAXIMIZE_BOX ); | 31 style = style & ~( wxMAXIMIZE_BOX ); |
| 32 MyFrame *mainframe = new MyFrame( NULL, wxID_ANY, wxT("IMCV - ImageConverter -"), wxDefaultPosition, wxSize( 450, 200 ), style ); | 32 MyFrame *mainframe = new MyFrame( NULL, wxID_ANY, wxT("IMCV - ImageConverter -"), wxDefaultPosition, wxSize( 700, 200 ), style ); |
| 33 mainframe->Show(true); | 33 mainframe->Show(true); |
| 34 | 34 |
| 35 return true; | 35 return true; |
| 36 } | 36 } |
| 37 | 37 |
