compilation fix after last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-04-11 00:26:09 +00:00
parent b4a980f4f5
commit 8e4ac1a068
2 changed files with 3 additions and 3 deletions

View File

@ -624,7 +624,7 @@ private:
#if WXWIN_COMPATIBILITY_2_6
inline size_t wxFileHistory::GetNoHistoryFiles() const
{
return m_fileHistoryN;
return m_fileHistory.GetCount();
}
#endif // WXWIN_COMPATIBILITY_2_6

View File

@ -151,9 +151,9 @@ private:
};
#if WXWIN_COMPATIBILITY_2_8
void wxMenuItem::SetName(const wxString &str)
void wxMenuItemBase::SetName(const wxString &str)
{ SetText(str); }
const wxString& wxMenuItem::GetName() const
const wxString& wxMenuItemBase::GetName() const
{ return GetText(); }
#endif // WXWIN_COMPATIBILITY_2_8