diff --git a/include/wx/filename.h b/include/wx/filename.h index 1a51030b89..5722daf8ff 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -70,7 +70,7 @@ enum wxPathNormalize wxPATH_NORM_TILDE = 0x0004, // Unix only: replace ~ and ~user wxPATH_NORM_CASE = 0x0008, // if case insensitive => tolower wxPATH_NORM_ABSOLUTE = 0x0010, // make the path absolute - wxPATH_NORM_LONG = 0x0020, // make the path the long form + wxPATH_NORM_LONG = 0x0020, // make the path the long form (MSW-only) wxPATH_NORM_SHORTCUT = 0x0040, // resolve the shortcut, if it is a shortcut wxPATH_NORM_ALL = 0x00ff & ~wxPATH_NORM_CASE }; diff --git a/interface/wx/filename.h b/interface/wx/filename.h index bacf59ad4f..01642d4d78 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -64,7 +64,20 @@ enum wxPathNormalize wxPATH_NORM_TILDE = 0x0004, //!< Replace @c "~" and @c "~user" (Unix only). wxPATH_NORM_CASE = 0x0008, //!< If the platform is case insensitive, make lowercase the path. wxPATH_NORM_ABSOLUTE = 0x0010, //!< Make the path absolute. - wxPATH_NORM_LONG = 0x0020, //!< Expand the path to the "long" form (Windows only). + + /** + Expand the path to the "long" form under Windows. + + This flag converts DOS short paths in 8.3 format to long form under + Windows and does nothing under the other platforms. It is mostly + irrelevant nowadays as short paths are not used any longer in practice. + + Notice that it only works for the existing file paths. + + @see wxFileName::GetLongPath() + */ + wxPATH_NORM_LONG = 0x0020, + wxPATH_NORM_SHORTCUT = 0x0040, //!< Resolve the shortcut, if it is a shortcut (Windows only). //! A value indicating all normalization flags except for @c wxPATH_NORM_CASE.