Mercurial > mercurial > hgweb_searcher03.cgi
comparison src/bprint.cpp @ 13:bbd65edf71d4
Implement Hhs DB update dialog.
author | pyon@macmini |
---|---|
date | Sat, 24 May 2014 10:25:13 +0900 |
parents | 52958cd4a073 |
children | a2ad87cad48b |
comparison
equal
deleted
inserted
replaced
12:52958cd4a073 | 13:bbd65edf71d4 |
---|---|
1 // Filename : bprint.cpp | 1 // Filename : bprint.cpp |
2 // Last Change: 16-May-2014. | 2 // Last Change: 21-May-2014. |
3 // | 3 // |
4 | 4 |
5 #include "bprint.h" | 5 #include "bprint.h" |
6 #include "marksheet.h" | 6 #include "marksheet.h" |
7 #include "dndfile.h" | 7 #include "dndfile.h" |
108 wxArrayString info = wxSplit( GetHhsInfoByHhsNo( hhsno ), '_', '\\' ); | 108 wxArrayString info = wxSplit( GetHhsInfoByHhsNo( hhsno ), '_', '\\' ); |
109 wxArrayString path = GetPathByHhsNo( hhsno ); | 109 wxArrayString path = GetPathByHhsNo( hhsno ); |
110 | 110 |
111 if ( info.IsEmpty() ) info.Add( wxEmptyString ); | 111 if ( info.IsEmpty() ) info.Add( wxEmptyString ); |
112 if ( path.IsEmpty() ) { | 112 if ( path.IsEmpty() ) { |
113 wxMessageBox( wxT("ファイルがありません.") ); | 113 wxMessageBox( wxT("審査会がありません.") ); |
114 path.Add( wxEmptyString ); | 114 path.Add( wxEmptyString ); |
115 } | 115 } |
116 | 116 |
117 m_grid->SetCellValue( r, 1, info[0] ); | 117 m_grid->SetCellValue( r, 1, info[0] ); |
118 m_grid->SetCellValue( r, 2, path[0] ); | 118 m_grid->SetCellValue( r, 2, path[0] ); |