X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c..10da53a25017db251249c42ed21802cb47c9cafc:/include/wx/dir.h 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 // -------------------------