Mercurial > mercurial > hgweb_mover2.cgi
comparison include/dndfile.h @ 9:dfa5cae8c992
small fix
author | pyon@macmini |
---|---|
date | Thu, 20 Oct 2011 07:44:56 +0900 |
parents | 9c85d71cad7c |
children |
comparison
equal
deleted
inserted
replaced
8:550c143ab194 | 9:dfa5cae8c992 |
---|---|
1 // Filename : param.cpp | 1 // Filename : param.cpp |
2 // Last Change: 18-Oct-2011. | 2 // Last Change: 19-Oct-2011. |
3 // | 3 // |
4 | 4 |
5 class DnDFile : public wxFileDropTarget | 5 class DnDFile : public wxFileDropTarget |
6 { | 6 { |
7 public: | 7 public: |
15 for ( size_t n=0; n<nFiles; n++ ) { | 15 for ( size_t n=0; n<nFiles; n++ ) { |
16 wxFileName filename( filenames[n] ); | 16 wxFileName filename( filenames[n] ); |
17 wxString from = filenames[n]; | 17 wxString from = filenames[n]; |
18 wxString to = m_workdir + wxFILE_SEP_PATH + filename.GetFullName(); | 18 wxString to = m_workdir + wxFILE_SEP_PATH + filename.GetFullName(); |
19 wxRenameFile( from, to, true ); | 19 wxRenameFile( from, to, true ); |
20 //wxMessageBox( wxT("move ") + filenames[n] + to ); | |
21 } | 20 } |
22 return true; | 21 return true; |
23 } | 22 } |
24 | 23 |
25 private: | 24 private: |