diff src/hhsdb.cpp @ 21:a2ad87cad48b

Enhanced the convenience of Cache dialog.
author pyon@macmini
date Wed, 17 Dec 2014 00:52:43 +0900
parents bbd65edf71d4
children
line wrap: on
line diff
--- a/src/hhsdb.cpp	Mon Dec 08 19:47:42 2014 +0900
+++ b/src/hhsdb.cpp	Wed Dec 17 00:52:43 2014 +0900
@@ -1,5 +1,5 @@
 // Filename   : hhsdb.cpp
-// Last Change: 23-May-2014.
+// Last Change: 12-Dec-2014.
 //
 
 #include "hhsdb.h"
@@ -11,14 +11,12 @@
 	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
     this->SetBackgroundColour( wxColour( wxT("WHEAT") ) );
 	
-	wxBoxSizer* bSizerTop;
-	bSizerTop = new wxBoxSizer( wxVERTICAL );
+	wxBoxSizer* bSizerTop = new wxBoxSizer( wxVERTICAL );
 	
-	m_filePicker = new wxFilePickerCtrl( this, ID_FPICKR, wxEmptyString, wxT("Select a file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_FILE_MUST_EXIST|wxFLP_OPEN|wxFLP_USE_TEXTCTRL );
+	m_filePicker = new wxFilePickerCtrl( this, wxID_ANY, wxEmptyString, wxT("Select a file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_FILE_MUST_EXIST|wxFLP_OPEN|wxFLP_USE_TEXTCTRL );
 	bSizerTop->Add( m_filePicker, 0, wxALL|wxEXPAND, 5 );
 	
-	wxBoxSizer* bSizerButton;
-	bSizerButton = new wxBoxSizer( wxHORIZONTAL );
+	wxBoxSizer* bSizerButton = new wxBoxSizer( wxHORIZONTAL );
 	
 	m_buttonUpdate = new wxButton( this, ID_UPDATE, wxT("更新処理開始"), wxDefaultPosition, wxDefaultSize, 0 );
 	bSizerButton->Add( m_buttonUpdate, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );