]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
pressing PageDown and then PageUp should return to the same item
[wxWidgets.git] / src / common / docview.cpp
index e3d0f5ab88718fd02314b28e983c6c2c4406ef4f..601a15803c6ed5c252eb9a8a8ddf8f0228595568 100644 (file)
@@ -1374,12 +1374,9 @@ void wxDocManager::FileHistoryAddFilesToMenu()
         m_fileHistory->AddFilesToMenu();
 }
 
-size_t wxDocManager::GetNoHistoryFiles() const
+size_t wxDocManager::GetHistoryFilesCount() const
 {
-    if (m_fileHistory)
-        return m_fileHistory->GetNoHistoryFiles();
-    else
-        return 0;
+    return m_fileHistory ? m_fileHistory->GetCount() : 0;
 }