Correct wxPATH_NORM_DOTS comment and documentation.
It doesn't prepend the current working directory, only wxPATH_NORM_ABSOLUTE does. Closes #11035. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,7 +70,7 @@ enum wxPathFormat
|
||||
enum wxPathNormalize
|
||||
{
|
||||
wxPATH_NORM_ENV_VARS = 0x0001, // replace env vars with their values
|
||||
wxPATH_NORM_DOTS = 0x0002, // squeeze all .. and . and prepend cwd
|
||||
wxPATH_NORM_DOTS = 0x0002, // squeeze all .. and .
|
||||
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
|
||||
|
@@ -42,7 +42,7 @@ enum wxPathNormalize
|
||||
//! and in addition under Windows @c "%var%" is also.
|
||||
wxPATH_NORM_ENV_VARS = 0x0001,
|
||||
|
||||
wxPATH_NORM_DOTS = 0x0002, //!< Squeeze all @c ".." and @c "." and prepend the current working directory.
|
||||
wxPATH_NORM_DOTS = 0x0002, //!< Squeeze all @c ".." and @c ".".
|
||||
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.
|
||||
|
Reference in New Issue
Block a user