minor fix to wxFileName::MakeRelativeTo(), removed broken and misleading IsWild() method, added IsDir() one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -296,9 +296,6 @@ public:
|
||||
// is the char a path separator for this format?
|
||||
static bool IsPathSeparator(wxChar ch, wxPathFormat format = wxPATH_NATIVE);
|
||||
|
||||
// FIXME: what exactly does this do?
|
||||
bool IsWild( wxPathFormat format = wxPATH_NATIVE );
|
||||
|
||||
// Dir accessors
|
||||
void AppendDir( const wxString &dir );
|
||||
void PrependDir( const wxString &dir );
|
||||
@@ -344,6 +341,9 @@ public:
|
||||
// Return the long form of the path (returns identity on non-Windows platforms)
|
||||
wxString GetLongPath() const;
|
||||
|
||||
// Is this a file or directory (not necessarily an existing one)
|
||||
bool IsDir() const { return m_name.empty() && m_ext.empty(); }
|
||||
|
||||
// various helpers
|
||||
|
||||
// get the canonical path format for this platform
|
||||
|
Reference in New Issue
Block a user