Fix wxTextFile::GetLine() documentation.

Document both const and non-const overloads of this method instead of having
some strange (and non-existent) chimera of the two.

Closes #14171.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-04-02 16:07:34 +00:00
parent 8362ae0a2a
commit 214ffcf58d

View File

@@ -190,10 +190,14 @@ public:
/** /**
Retrieves the line number @a n from the file. Retrieves the line number @a n from the file.
The returned line may be modified but you shouldn't add line terminator The returned line may be modified when non-const method is used but you
at the end - this will be done by wxTextFile. shouldn't add line terminator at the end -- this will be done by
wxTextFile itself.
*/ */
wxString& GetLine(size_t n) const; //@{
wxString& GetLine(size_t n);
const wxString& GetLine(size_t n) const;
//@}
/** /**
Get the number of lines in the file. Get the number of lines in the file.