From 824216af78f0e70db05b3021446defe6d2636412 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 31 Oct 2011 19:33:43 +0000 Subject: [PATCH] Correct wxFileName::SetPath() documentation. 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 7bbd0cd527..e6c8fa5fea 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -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() */