]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct wxFileName::SetPath() documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Oct 2011 19:33:43 +0000 (19:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 31 Oct 2011 19:33:43 +0000 (19:33 +0000)
It wrongly claimed that this function affected the full path, i.e. including
name and extension, which was simply wrong.

Closes #13612.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/filename.h

index 7bbd0cd527c181b594b43b9ce982ddf04788f407..e6c8fa5fea5f796937770560240d97cda37a5d04 100644 (file)
@@ -1134,10 +1134,14 @@ public:
     void SetName(const wxString& name);
 
     /**
-        Sets the full path.
+        Sets the path.
 
-        The @a path argument includes both the path (and the volume, if
-        supported by @a format) and the name and extension.
+        The @a path argument includes both the path and the volume, if
+        supported by @a format.
+
+        Calling this function doesn't affect the name and extension components,
+        to change them as well you can use Assign() or just an assignment
+        operator.
 
         @see GetPath()
      */