reverted Robert's premature removal of deprecated 2.6 functions in r54490

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-07-05 19:06:06 +00:00
parent 2ac47b9e4b
commit 2587df2c82
2 changed files with 37 additions and 0 deletions

View File

@@ -230,6 +230,13 @@ bool wxPathList::EnsureFileAccessible (const wxString& path)
return Add(wxPathOnly(path));
}
#if WXWIN_COMPATIBILITY_2_6
bool wxPathList::Member (const wxString& path) const
{
return Index(path) != wxNOT_FOUND;
}
#endif
wxString wxPathList::FindValidPath (const wxString& file) const
{
// normalize the given string as it could be a path + a filename
@@ -1575,6 +1582,13 @@ wxChar *wxDoGetCwd(wxChar *buf, int sz)
// __WXWINCE__
}
#if WXWIN_COMPATIBILITY_2_6
wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
{
return wxDoGetCwd(buf,sz);
}
#endif // WXWIN_COMPATIBILITY_2_6
wxString wxGetCwd()
{
wxString str;