]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove wrong consts from wxTextFile::Open() documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Apr 2012 16:07:31 +0000 (16:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Apr 2012 16:07:31 +0000 (16:07 +0000)
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

interface/wx/textfile.h

index 77c947945b15fb2c29918294d539de8b27a947eb..02bd50d0b931462ec3405fc7c9849e763765fce7 100644 (file)
@@ -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.