]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
When saving the editable state, use the real state (m_editable)
[wxWidgets.git] / src / common / docview.cpp
index 4020edb7d569742a59d10c34ffa3cba2ac1863d8..9b8de090187c99f84f00e89c266c550aa55f399c 100644 (file)
@@ -2115,7 +2115,7 @@ void wxFileHistory::Save(wxConfigBase& config)
     for (i = 0; i < m_fileHistoryN; i++)
     {
         wxString buf;
-        buf.Printf(wxT("file%d"), i+1);
+        buf.Printf(wxT("file%d"), (int)i+1);
         config.Write(buf, wxString(m_fileHistory[i]));
     }
 }