take const wxConfig object in wxDocManager::FileHistoryLoad() and wxFileHistory::Load() (patch 1942316)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-05-11 20:32:35 +00:00
parent 460d7f8221
commit 9c8116f8f7
4 changed files with 39 additions and 6 deletions

View File

@@ -1509,7 +1509,7 @@ void wxDocManager::FileHistoryRemoveMenu(wxMenu *menu)
}
#if wxUSE_CONFIG
void wxDocManager::FileHistoryLoad(wxConfigBase& config)
void wxDocManager::FileHistoryLoad(const wxConfigBase& config)
{
if (m_fileHistory)
m_fileHistory->Load(config);
@@ -2275,7 +2275,7 @@ void wxFileHistory::RemoveMenu(wxMenu *menu)
}
#if wxUSE_CONFIG
void wxFileHistory::Load(wxConfigBase& config)
void wxFileHistory::Load(const wxConfigBase& config)
{
m_fileHistory.Clear();