changeset 32:112cd4d27f1f v2.3

put hhsname on hhsdirlist
author pyon@macmini
date Sun, 06 Nov 2011 14:49:41 +0900
parents fbe6bce63f2a
children 945864229b5a
files include/main.h src/myframe.cpp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/include/main.h	Sun Nov 06 14:49:19 2011 +0900
+++ b/include/main.h	Sun Nov 06 14:49:41 2011 +0900
@@ -1,5 +1,5 @@
 // Filename   : main.h
-// Last Change: 05-Nov-2011.
+// Last Change: 06-Nov-2011.
 //
 #include "wx/wx.h"
 #include "wx/config.h"
@@ -8,7 +8,7 @@
 #define MYAPPNAME wxT("AMover2")
 
 #define VER 2
-#define REV 3
+#define REV 4
 #define BLD 20111107
 
 // private classes
--- a/src/myframe.cpp	Sun Nov 06 14:49:19 2011 +0900
+++ b/src/myframe.cpp	Sun Nov 06 14:49:41 2011 +0900
@@ -643,6 +643,7 @@
         m_listCtrlHhsDir->SetItem( i, 1, m_hhsList[i], -1 );
         buf.Printf(wxT("%d"),n);
         m_listCtrlHhsDir->SetItem( i, 2, buf, -1 );
+        m_listCtrlHhsDir->SetItem( i, 3, GetHhsName(m_hhsList[i]), -1 );
         if ( i % 2 ) m_listCtrlHhsDir->SetItemBackgroundColour( i, wxColour(wxT("WHEAT")) );
     }
 }
@@ -666,7 +667,7 @@
     wxExecute( execmd );
 }
 
-// 以下,定型もの
+/* 以下,定型もの ***********************************************/
 void MyFrame::OnTimer(wxTimerEvent& event)
 {
     UpdateCache();