Mercurial > mercurial > hgweb_searcher03.cgi
diff src/myframe.cpp @ 16:1ba97995f642
Get/Put DB files to shared-directory.
author | pyon@macmini |
---|---|
date | Thu, 19 Jun 2014 18:46:11 +0900 |
parents | de222bc84e48 |
children | acb59fbbe5ee |
line wrap: on
line diff
--- a/src/myframe.cpp Sun Jun 15 16:45:52 2014 +0900 +++ b/src/myframe.cpp Thu Jun 19 18:46:11 2014 +0900 @@ -1,5 +1,5 @@ // Filename : myframe.cpp -// Last Change: 05-Jun-2014. +// Last Change: 19-Jun-2014. // #include "main.h" #include "db.h" @@ -14,8 +14,7 @@ #include "marksheet.h" #include "myframe.h" #include "bprint.h" - -#define DEBUG 1 +#include "update.h" /////////////////////////////////////////////////////////////// // カスタム検索ボックス @@ -353,6 +352,7 @@ this->Centre( wxBOTH ); LoadParam(); + CheckNewFiles( m_shared ); } MyFrame::~MyFrame() @@ -433,6 +433,11 @@ int x, y, w, h; + // Shaerd + config->SetPath( wxT("/Index") ); + config->Read( wxT("shared"), &m_shared ); + + // Mask config->SetPath( wxT("/Mask") ); config->Read( wxT("x1"), &x ); @@ -477,7 +482,7 @@ m_mask3old.SetPosition( wxPoint( x, y ) ); m_mask3old.SetSize( wxSize( w, h ) ); - // + // Marksheet config->SetPath( wxT("/Marksheet") ); config->Read( wxT("lmin"), &lmin );