X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d13b34d3f2be575d59747a5926000be7b28a45dc..d6d29abb44ccfabdd071741a8a4623ea02f470b8:/interface/wx/filename.h diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 07c94f0997..7bbd0cd527 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -611,6 +611,10 @@ public: Don't include the trailing separator in the returned string. This is the default (the value of this flag is 0) and exists only for symmetry with wxPATH_GET_SEPARATOR. + + @note If the path is a toplevel one (e.g. @c "/" on Unix or @c "C:\" on + Windows), then the returned path will contain trailing separator + even with @c wxPATH_NO_SEPARATOR. */ wxString GetPath(int flags = wxPATH_GET_VOLUME, wxPathFormat format = wxPATH_NATIVE) const;