]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filefn.h
Alloc() doesn't clear the array any more, for consistency with reserve()
[wxWidgets.git] / include / wx / filefn.h
index c2d5eeec3ac0a47fc914115674045a8a9b8daa53..c0c7e140b973bb0ee9983f9543b4f7c0260d7314 100644 (file)
@@ -170,7 +170,7 @@ enum wxFileKind
 
     // detect compilers which have support for huge files
     #if defined(__VISUALC__)
-       #define wxHAS_HUGE_FILES 1
+        #define wxHAS_HUGE_FILES 1
     #elif defined(__MINGW32__)
         #define wxHAS_HUGE_FILES 1
     #elif defined(_LARGE_FILES)
@@ -669,7 +669,7 @@ public:
     void AddEnvList(const wxString& envVariable);
 
     // Adds given path to this list
-    void Add(const wxString& path);
+    bool Add(const wxString& path);
     void Add(const wxArrayString &paths);
 
     // Find the first full path for which the file exists
@@ -680,10 +680,12 @@ public:
     wxString FindAbsoluteValidPath(const wxString& filename) const;
 
     // Given full path and filename, add path to list
-    void EnsureFileAccessible(const wxString& path);
+    bool EnsureFileAccessible(const wxString& path);
 
+#if WXWIN_COMPATIBILITY_2_6
     // Returns true if the path is in the list
     wxDEPRECATED( bool Member(const wxString& path) const );
+#endif
 };
 
 #endif // _WX_FILEFN_H_