comparison src/myframe.cpp @ 32:112cd4d27f1f v2.3

put hhsname on hhsdirlist
author pyon@macmini
date Sun, 06 Nov 2011 14:49:41 +0900
parents e4d585cbd172
children 945864229b5a
comparison
equal deleted inserted replaced
31:fbe6bce63f2a 32:112cd4d27f1f
641 buf.Printf(wxT("%d"),i+1); 641 buf.Printf(wxT("%d"),i+1);
642 m_listCtrlHhsDir->SetItem( i, 0, buf, -1 ); 642 m_listCtrlHhsDir->SetItem( i, 0, buf, -1 );
643 m_listCtrlHhsDir->SetItem( i, 1, m_hhsList[i], -1 ); 643 m_listCtrlHhsDir->SetItem( i, 1, m_hhsList[i], -1 );
644 buf.Printf(wxT("%d"),n); 644 buf.Printf(wxT("%d"),n);
645 m_listCtrlHhsDir->SetItem( i, 2, buf, -1 ); 645 m_listCtrlHhsDir->SetItem( i, 2, buf, -1 );
646 m_listCtrlHhsDir->SetItem( i, 3, GetHhsName(m_hhsList[i]), -1 );
646 if ( i % 2 ) m_listCtrlHhsDir->SetItemBackgroundColour( i, wxColour(wxT("WHEAT")) ); 647 if ( i % 2 ) m_listCtrlHhsDir->SetItemBackgroundColour( i, wxColour(wxT("WHEAT")) );
647 } 648 }
648 } 649 }
649 650
650 /* 被保険者フォルダを開く */ 651 /* 被保険者フォルダを開く */
664 hhsdir.Append( item.GetText() ); 665 hhsdir.Append( item.GetText() );
665 wxString execmd = wxT("explorer ") + hhsdir; 666 wxString execmd = wxT("explorer ") + hhsdir;
666 wxExecute( execmd ); 667 wxExecute( execmd );
667 } 668 }
668 669
669 // 以下,定型もの 670 /* 以下,定型もの ***********************************************/
670 void MyFrame::OnTimer(wxTimerEvent& event) 671 void MyFrame::OnTimer(wxTimerEvent& event)
671 { 672 {
672 UpdateCache(); 673 UpdateCache();
673 } 674 }
674 675