Use %ld for size_t in RebuildRecentList, fixes an assert in wxString::Format.

Originally committed to SVN as r4682.
This commit is contained in:
Amar Takhar 2010-07-16 15:44:54 +00:00
parent d3e9a906aa
commit 5755d7e1a0
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ void FrameMain::RebuildRecentList(wxString listName,wxMenu *menu,int startID) {
wxString n;
wxArrayString entries = lagi_MRU_wxAS(listName);
for (size_t i=0;i<entries.Count();i++) {
n = wxString::Format(_T("%i"),i+1);
n = wxString::Format(_T("%ld"),i+1);
if (i < 9) n = _T("&") + n;
wxFileName shortname(entries[i]);
wxString filename = shortname.GetFullName();