Mercurial > mercurial > hgweb_mover.cgi
comparison src/myframe.cpp @ 6:99d612849255
v0.3
| author | pyon@macmini | 
|---|---|
| date | Sat, 08 Oct 2011 17:00:33 +0900 | 
| parents | 3b734fd6ee2b | 
| children | bfa0800f1176 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 5:3b734fd6ee2b | 6:99d612849255 | 
|---|---|
| 1 // Filename : mainframe.cpp | 1 // Filename : mainframe.cpp | 
| 2 // Last Change: 06-Oct-2011. | 2 // Last Change: 08-Oct-2011. | 
| 3 // | 3 // | 
| 4 #include "symbol.h" | 4 #include "symbol.h" | 
| 5 #include "common.h" | 5 #include "common.h" | 
| 6 #include "myframe.h" | 6 #include "myframe.h" | 
| 7 #include "delwhite.h" | 7 #include "delwhite.h" | 
| 318 wxString cmd = wxT("explorer ") + dirname; | 318 wxString cmd = wxT("explorer ") + dirname; | 
| 319 wxExecute( cmd ); | 319 wxExecute( cmd ); | 
| 320 } | 320 } | 
| 321 | 321 | 
| 322 /* 被保険者のフォルダを開く */ | 322 /* 被保険者のフォルダを開く */ | 
| 323 void MyFrame::OnOpenHhsDir(wxListEvent& WXUNUSED(event)) | 323 void MyFrame::OnOpenHhsDir(wxListEvent& event) | 
| 324 { | 324 { | 
| 325 wxString hhsdir = m_textCtrlMoveDir->GetValue(); | 325 wxString hhsdir = m_textCtrlMoveDir->GetValue(); | 
| 326 hhsdir.Append( wxFILE_SEP_PATH ); | 326 hhsdir.Append( wxFILE_SEP_PATH ); | 
| 327 long n = m_listCtrl->GetNextItem( -1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED ); | 327 | 
| 328 wxListItem item; | 328 wxListItem item = event.GetItem(); | 
| 329 item.SetId(n); | 329 item.SetColumn(1); | 
| 330 m_listCtrl->GetColumn( 1, item ); | 330 item.SetMask(wxLIST_MASK_TEXT); | 
| 331 m_listCtrl->GetItem( item ); | |
| 331 hhsdir.Append( item.GetText() ); | 332 hhsdir.Append( item.GetText() ); | 
| 332 wxMessageBox(hhsdir); | 333 wxMessageBox(hhsdir); | 
| 333 //wxString execmd = wxT("explorer ") + hhsdir; | 334 //wxString execmd = wxT("explorer ") + hhsdir; | 
| 334 } | 335 } | 
| 335 | 336 | 
