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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user