Mercurial > mercurial > hgweb_searcher2.cgi
comparison src/main.cpp @ 10:24e0775af32e
Add Name-View.
author | pyon@macmini |
---|---|
date | Wed, 22 Jun 2011 20:43:50 +0900 |
parents | db7bd315e52c |
children | b67c74848dd0 |
comparison
equal
deleted
inserted
replaced
9:6f59ca2622af | 10:24e0775af32e |
---|---|
1 // Filename : main.cpp | 1 // Filename : main.cpp |
2 // Last Change: 21-Jun-2011. | 2 // Last Change: 22-Jun-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" |
24 | 24 |
25 wxImage::AddHandler( new wxJPEGHandler ); | 25 wxImage::AddHandler( new wxJPEGHandler ); |
26 | 26 |
27 ConfInit(); | 27 ConfInit(); |
28 | 28 |
29 /* | |
30 MyFrame *mainframe = new MyFrame( NULL, ID_MAIN, wxT("Searcher v2") ); | 29 MyFrame *mainframe = new MyFrame( NULL, ID_MAIN, wxT("Searcher v2") ); |
31 mainframe->SetSize( rect ); | 30 mainframe->SetSize( rect ); |
32 mainframe->Show(true); | 31 mainframe->Show(true); |
33 */ | |
34 | 32 |
33 /* | |
35 FramePreview *a = new FramePreview( NULL, ID_IMGFRM, wxEmptyString, wxDefaultPosition, wxSize( 512,394 ), wxCAPTION|wxFRAME_NO_TASKBAR|wxMAXIMIZE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL ); | 34 FramePreview *a = new FramePreview( NULL, ID_IMGFRM, wxEmptyString, wxDefaultPosition, wxSize( 512,394 ), wxCAPTION|wxFRAME_NO_TASKBAR|wxMAXIMIZE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL ); |
36 a->Show(true); | 35 a->Show(true); |
36 */ | |
37 | 37 |
38 return true; | 38 return true; |
39 } | 39 } |
40 | 40 |
41 int MyApp::OnExit() | 41 int MyApp::OnExit() |