From: Vadim Zeitlin Date: Mon, 2 Apr 2012 16:07:31 +0000 (+0000) Subject: Remove wrong consts from wxTextFile::Open() documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8362ae0a2a16e7843cf3cad8a874392a02e26dc5 Remove wrong consts from wxTextFile::Open() documentation. Open() is a non-const method. See #14171. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/textfile.h b/interface/wx/textfile.h index 77c947945b..02bd50d0b9 100644 --- a/interface/wx/textfile.h +++ b/interface/wx/textfile.h @@ -255,7 +255,7 @@ public: The @a conv argument is only meaningful in Unicode build of wxWidgets when it is used to convert the file to wide character representation. */ - bool Open(const wxMBConv& conv = wxConvAuto()) const; + bool Open(const wxMBConv& conv = wxConvAuto()); /** Opens the file with the given name and also loads file in memory on success. @@ -265,7 +265,7 @@ public: The @a conv argument is only meaningful in Unicode build of wxWidgets when it is used to convert the file to wide character representation. */ - bool Open(const wxString& strFile, const wxMBConv& conv = wxConvAuto()) const; + bool Open(const wxString& strFile, const wxMBConv& conv = wxConvAuto()); /** Delete line number @a n from the file.