diff src/main.cpp @ 5:52697c869ce8

delete move&detect button.
author pyon@macmini
date Tue, 18 Oct 2011 07:53:48 +0900
parents 964129946db6
children 9b0840b0be7e
line wrap: on
line diff
--- a/src/main.cpp	Sun Oct 16 16:21:33 2011 +0900
+++ b/src/main.cpp	Tue Oct 18 07:53:48 2011 +0900
@@ -1,5 +1,5 @@
 // Filename   : main.cpp
-// Last Change: 16-Oct-2011.
+// Last Change: 18-Oct-2011.
 //
 
 #include "common.h"
@@ -33,7 +33,7 @@
 
     MyFrame *mainframe = new MyFrame( NULL, ID_MAIN, title );
     mainframe->SetSize( rect );
-    mainframe->SetMinSize( wxSize( 1200, 500 ) );
+    mainframe->SetMinSize( wxSize( 1200, 400 ) );
     mainframe->Show(true);
     /*
     TestFrame *tf = new TestFrame( NULL, ID_TEST, wxT("A Test") );
@@ -57,8 +57,8 @@
     config->SetPath( wxT("/Param") );
     config->Write( wxT("lmin"), lmin );
     config->Write( wxT("lmax"), lmax );
-    config->Write( wxT("bmin"), bmin );
-    config->Write( wxT("bmax"), bmax );
+    config->Write( wxT("zmin"), zmin );
+    config->Write( wxT("zmax"), zmax );
 
     delete config;
 
@@ -80,9 +80,9 @@
     config->Read( wxT("workdir"), &workdir );
 
     config->SetPath( wxT("/Param") );
-    config->Read( wxT("lmin"), lmin );
-    config->Read( wxT("lmax"), lmax );
-    config->Read( wxT("bmin"), bmin );
-    config->Read( wxT("bmax"), bmax );
+    config->Read( wxT("lmin"), &lmin );
+    config->Read( wxT("lmax"), &lmax );
+    config->Read( wxT("zmin"), &zmin );
+    config->Read( wxT("zmax"), &zmax );
 }