comparison src/main.cpp @ 22:05f76f9f9186

index buttons move to main-frame.
author pyon@macmini
date Wed, 27 Jul 2011 19:01:09 +0900
parents 710be7b6a873
children a10c2fe880f8
comparison
equal deleted inserted replaced
21:eb3f5c7c990f 22:05f76f9f9186
1 // Filename : main.cpp 1 // Filename : main.cpp
2 // Last Change: 18-Jul-2011. 2 // Last Change: 26-Jul-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
35 //FrameCcn *a = new FrameCcn( NULL, ID_CCN, wxEmptyString, wxDefaultPosition, wxSize( 512,394 ), wxCAPTION|wxFRAME_NO_TASKBAR|wxTAB_TRAVERSAL );
36 FrameCcn *a = new FrameCcn( NULL, ID_CCN, wxEmptyString );
37 a->Show(true);
38 32
39 return true; 33 return true;
40 } 34 }
41 35
42 int MyApp::OnExit() 36 int MyApp::OnExit()