]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/textfile.h
minor cleanup; add wxDocument::OnChangeFilename for coherence with wxView::OnChangefi...
[wxWidgets.git] / interface / wx / textfile.h
index 101b9debb1274f34d3f5692c3c887bd20e86a123..044dc9529e0caeceaaaf18da0383c76903cab937 100644 (file)
@@ -106,7 +106,7 @@ public:
 
         It will fail if the file already exists, Open() should be used in this case.
     */
-    bool Create() const;
+    bool Create();
 
     /**
         Creates the file with the given name.
@@ -114,7 +114,7 @@ public:
 
         It will fail if the file already exists, Open() should be used in this case.
     */
-    bool Create(const wxString& strFile) const;
+    bool Create(const wxString& strFile);
 
     /**
         Returns @true if the current line is the last one.