diff src/index.cpp @ 10:29021e6e1ebe

Implement thumbnail list in PreviewDialog.
author pyon@macmini
date Mon, 28 Apr 2014 18:14:04 +0900
parents 4967d1e2b30c
children 52958cd4a073
line wrap: on
line diff
--- a/src/index.cpp	Thu Apr 24 18:31:39 2014 +0900
+++ b/src/index.cpp	Mon Apr 28 18:14:04 2014 +0900
@@ -1,5 +1,5 @@
 // Filename   : index.cpp
-// Last Change: 01-Nov-2013.
+// Last Change: 28-Apr-2014.
 //
 
 #include "index.h"
@@ -117,7 +117,7 @@
     wxString buf;
     for ( int i = 0; i < ccn.GetCount(); i++ ) {
         m_listCtrl->InsertItem( i, -1 );
-        buf.Printf( wxT("%02d"), i + 1 );
+        buf.Printf( wxT("%03d"), i + 1 );
         m_listCtrl->SetItem( i, 0, buf, -1 ); // No
 
         wxArrayString ary = wxSplit( ccn[i], '_', '\\' ); // hhsno, path, date