X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c..6f41c10973643552837c6bd38b23779e65a2eaa3:/include/wx/dir.h?ds=sidebyside diff --git a/include/wx/dir.h b/include/wx/dir.h index 94c5d453c0..0781b13c13 100644 --- a/include/wx/dir.h +++ b/include/wx/dir.h @@ -106,6 +106,10 @@ public: // get the full name of the directory (without '/' at the end) wxString GetName() const; + // Same as GetName() but does include the trailing separator, unless the + // string is empty (only for invalid directories). + wxString GetNameWithSep() const; + // file enumeration routines // -------------------------