changed Remove/InsertDir() parameter type to size_t from int; added RemoveLastDir()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-02-13 00:55:27 +00:00
parent 48a4834d6d
commit 2458d90b1d
3 changed files with 29 additions and 15 deletions

View File

@@ -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; }