implement deprecated wxStripExtension() in terms of new wxFileName::StripExtension() (closes #10634)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-26 15:55:01 +00:00
parent 62714742f3
commit 181dd701fa
6 changed files with 42 additions and 37 deletions

View File

@@ -519,6 +519,9 @@ public:
wxString *path,
wxPathFormat format = wxPATH_NATIVE);
// Strip the file extension
static wxString StripExtension(const wxString& fullpath);
#ifdef wxHAS_FILESYSTEM_VOLUMES
// return the string representing a file system volume, or drive
static wxString GetVolumeString(char drive, int flags = wxPATH_GET_SEPARATOR);