X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c2deb19e0fe659e8f239d86612f3c866731ac22..248eaddf7a14cefa161d514763e8fefb8d6f2f79:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index 954f4f349f..9711cd6fa8 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -346,11 +346,12 @@ public: static bool IsPathSeparator(wxChar ch, wxPathFormat format = wxPATH_NATIVE); // Dir accessors - void AppendDir( const wxString &dir ); - void PrependDir( const wxString &dir ); - void InsertDir( int before, const wxString &dir ); - void RemoveDir( int pos ); size_t GetDirCount() const { return m_dirs.size(); } + void AppendDir(const wxString& dir); + void PrependDir(const wxString& dir); + void InsertDir(size_t before, const wxString& dir); + void RemoveDir(size_t pos); + void RemoveLastDir() { RemoveDir(GetDirCount() - 1); } // Other accessors void SetExt( const wxString &ext ) { m_ext = ext; }