diff src/main.cpp @ 19:710be7b6a873

arranged FrameCnn's controls.
author pyon@macmini
date Mon, 18 Jul 2011 22:08:04 +0900
parents b67c74848dd0
children 05f76f9f9186
line wrap: on
line diff
--- a/src/main.cpp	Wed Jul 13 21:11:26 2011 +0900
+++ b/src/main.cpp	Mon Jul 18 22:08:04 2011 +0900
@@ -1,11 +1,11 @@
 // Filename   : main.cpp
-// Last Change: 06-Jul-2011.
+// Last Change: 18-Jul-2011.
 //
 
 #include "common.h"
 #include "main.h"
 #include "myframe.h"
-#include "preview.h"
+#include "ccnframe.h"
 
 IMPLEMENT_APP(MyApp)
 
@@ -26,14 +26,15 @@
 
     ConfInit();
 
+    /*
     MyFrame *mainframe = new MyFrame( NULL, ID_MAIN, wxT("Searcher v2") );
     mainframe->SetSize( rect );
     mainframe->Show(true);
+    */
 
-    /*
-    FramePreview *a = new FramePreview( NULL, ID_IMGFRM, wxEmptyString, wxDefaultPosition, wxSize( 512,394 ), wxCAPTION|wxFRAME_NO_TASKBAR|wxMAXIMIZE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL );
+    //FrameCcn *a = new FrameCcn( NULL, ID_CCN, wxEmptyString, wxDefaultPosition, wxSize( 512,394 ), wxCAPTION|wxFRAME_NO_TASKBAR|wxTAB_TRAVERSAL );
+    FrameCcn *a = new FrameCcn( NULL, ID_CCN, wxEmptyString );
     a->Show(true);
-    */
 
     return true;
 }