]> git.saurik.com Git - wxWidgets.git/commitdiff
wxPATH_NORM_ALL shouldn't include wxPATH_NORM_CASE
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Sep 2003 22:04:53 +0000 (22:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Sep 2003 22:04:53 +0000 (22:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
docs/latex/wx/filename.tex
include/wx/filename.h

index c1a3f610049b76ce39be9de1a98861c885f32dfc..b8d25c07fc8bfa2f2872cfa43763c001f81abffd 100644 (file)
@@ -62,6 +62,7 @@ All:
 - wxDateTime::ParseDateTime() implemented (Linus McCabe)
 - wxHTTP::GetResponse() added (David Nock)
 - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
+- wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
 
 All (GUI):
 
index 8b2e26f54d93712caffd37dcbfcb9c9adcc0eeb0..47d44b6ec01230f23359a1d741575f2c19214364 100644 (file)
@@ -594,10 +594,10 @@ any or-combination of the following constants:
 \twocolitem{{\bf wxPATH\_NORM\_ENV\_VARS}}{replace env vars with their values}
 \twocolitem{{\bf wxPATH\_NORM\_DOTS}}{squeeze all .. and . and prepend cwd}
 \twocolitem{{\bf wxPATH\_NORM\_TILDE}}{Unix only: replace ~ and ~user}
-\twocolitem{{\bf wxPATH\_NORM\_CASE}}{if case insensitive => tolower}
+\twocolitem{{\bf wxPATH\_NORM\_CASE}}{if filesystem is case insensitive, transform to tolower case}
 \twocolitem{{\bf wxPATH\_NORM\_ABSOLUTE}}{make the path absolute}
 \twocolitem{{\bf wxPATH\_NORM\_LONG}}{make the path the long form}
-\twocolitem{{\bf wxPATH\_NORM\_ALL}}{all of previous flags}
+\twocolitem{{\bf wxPATH\_NORM\_ALL}}{all of previous flags except \texttt{wxPATH\_NORM\_CASE}}
 \end{twocollist}
 }
 
index 3d549d2b361e8f350389440e0b0359d9d625eddd..d263ddecc2f0bc301db153ad216af1a99be2bdf3 100644 (file)
@@ -72,7 +72,7 @@ enum wxPathNormalize
     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_ALL      = 0x003f
+    wxPATH_NORM_ALL      = 0x003f & ~wxPATH_NORM_CASE
 };
 
 // what exactly should GetPath() return?